mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-12 07:13:23 +00:00
Show popup menu on "Play" buttons with Ctrl+click
This commit is contained in:
parent
3a4251a9a4
commit
d7f2155adb
@ -1,5 +1,5 @@
|
||||
// Aseprite
|
||||
// Copyright (C) 2001-2015 David Capello
|
||||
// Copyright (C) 2001-2016 David Capello
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -82,6 +82,8 @@ AniControls::AniControls()
|
||||
addChild(tooltips);
|
||||
for (int i=0; i<ACTIONS; ++i)
|
||||
tooltips->addTooltipFor(getItem(i), getTooltipFor(i), BOTTOM);
|
||||
|
||||
getItem(ACTION_PLAY)->enableFlags(CTRL_RIGHT_CLICK);
|
||||
}
|
||||
|
||||
void AniControls::updateUsingEditor(Editor* editor)
|
||||
|
@ -94,6 +94,7 @@ public:
|
||||
SkinPartPtr(nullptr),
|
||||
SkinPartPtr(nullptr))
|
||||
, m_isPlaying(false) {
|
||||
enableFlags(CTRL_RIGHT_CLICK);
|
||||
setupIcons();
|
||||
setup_bevels(this, 0, 0, 0, 0);
|
||||
setDecorative(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user