Fix timeline's animation buttons size

This commit is contained in:
Martín Capello 2023-02-27 10:21:50 -03:00
parent 0199994e45
commit f481d9c0e7
2 changed files with 6 additions and 5 deletions

View File

@ -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>

View File

@ -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);