QskMenu::Cursor transition fixed
This commit is contained in:
parent
f45be55e90
commit
89a2a395fd
@ -334,7 +334,7 @@ void Editor::setupMenu()
|
||||
setPosition( Q::Panel | QskPopup::Closed, 1 );
|
||||
|
||||
setAnimation( Q::Panel | A::Metric, 150 );
|
||||
setAnimation( Q::Cursor | A::Metric, 50, QEasingCurve::OutCubic );
|
||||
setAnimation( Q::Cursor | A::Position | A::Metric, 75, QEasingCurve::OutCubic );
|
||||
}
|
||||
|
||||
void Editor::setupTextLabel()
|
||||
|
@ -252,7 +252,7 @@ void QskMenu::traverse( int steps )
|
||||
if ( newIndex < 0 )
|
||||
newIndex += count();
|
||||
|
||||
if ( hasAnimationHint( Cursor | QskAspect::Metric ) )
|
||||
if ( hasAnimationHint( Cursor | QskAspect::Position | QskAspect::Metric ) )
|
||||
{
|
||||
// when cycling we want slide in
|
||||
|
||||
|
@ -848,7 +848,7 @@ bool QskSkinnable::moveSkinHint( QskAspect aspect,
|
||||
|
||||
if ( ok && oldValue.isValid() && newValue.isValid() )
|
||||
{
|
||||
const auto animation = animationHint( aspect.subControl() | aspect.type() );
|
||||
const auto animation = animationHint( aspect );
|
||||
if ( animation.isValid() )
|
||||
{
|
||||
if ( newValue != oldValue )
|
||||
|
Loading…
x
Reference in New Issue
Block a user