only check if types do match without doing the conversion
This commit is contained in:
parent
23482cf1d0
commit
81cf9a20ee
@ -1145,12 +1145,12 @@ void QskSkinnable::startHintTransition( QskAspect aspect,
|
|||||||
if ( control->window() == nullptr || !isTransitionAccepted( aspect ) )
|
if ( control->window() == nullptr || !isTransitionAccepted( aspect ) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if ( !QskVariantAnimator::maybeInterpolate( from, to ) )
|
||||||
|
return;
|
||||||
|
|
||||||
auto v1 = from;
|
auto v1 = from;
|
||||||
auto v2 = to;
|
auto v2 = to;
|
||||||
|
|
||||||
if ( !QskVariantAnimator::convertValues( v1, v2 ) )
|
|
||||||
return;
|
|
||||||
|
|
||||||
if ( aspect.flagPrimitive() == QskAspect::GraphicRole )
|
if ( aspect.flagPrimitive() == QskAspect::GraphicRole )
|
||||||
{
|
{
|
||||||
const auto skin = effectiveSkin();
|
const auto skin = effectiveSkin();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user