mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-02 13:20:12 +00:00
Fix timeline's animation buttons size
This commit is contained in:
parent
0199994e45
commit
f481d9c0e7
@ -1098,5 +1098,6 @@
|
|||||||
</style>
|
</style>
|
||||||
<style id="standard_brush" extends="buttonset_item_icon_mono" width="17" height="19" />
|
<style id="standard_brush" extends="buttonset_item_icon_mono" width="17" height="19" />
|
||||||
<style id="outline_cell" extends="buttonset_item_icon" width="17" height="19" />
|
<style id="outline_cell" extends="buttonset_item_icon" width="17" height="19" />
|
||||||
|
<style id="ani_button" extends="buttonset_item_icon" width="17" />
|
||||||
</styles>
|
</styles>
|
||||||
</theme>
|
</theme>
|
||||||
|
@ -44,11 +44,11 @@ AniControls::AniControls(TooltipManager* tooltipManager)
|
|||||||
{
|
{
|
||||||
auto theme = SkinTheme::get(this);
|
auto theme = SkinTheme::get(this);
|
||||||
|
|
||||||
addItem(theme->parts.aniFirst());
|
addItem(theme->parts.aniFirst(), "ani_button");
|
||||||
addItem(theme->parts.aniPrevious());
|
addItem(theme->parts.aniPrevious(), "ani_button");
|
||||||
addItem(theme->parts.aniPlay());
|
addItem(theme->parts.aniPlay(), "ani_button");
|
||||||
addItem(theme->parts.aniNext());
|
addItem(theme->parts.aniNext(), "ani_button");
|
||||||
addItem(theme->parts.aniLast());
|
addItem(theme->parts.aniLast(), "ani_button");
|
||||||
ItemChange.connect([this]{ onClickButton(); });
|
ItemChange.connect([this]{ onClickButton(); });
|
||||||
|
|
||||||
setTriggerOnMouseUp(true);
|
setTriggerOnMouseUp(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user