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