Add new icon for the button to switch the timeline visibility (#4081, #4092)

This commit is contained in:
David Capello 2023-10-11 14:58:15 -03:00
parent 4f73b14f8f
commit cf19b51226
5 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -416,6 +416,7 @@
<part id="tool_jumble" x="176" y="112" w="16" h="16" />
<part id="tool_configuration" x="144" y="128" w="16" h="16" />
<part id="tool_minieditor" x="160" y="128" w="16" h="16" />
<part id="tool_timeline" x="176" y="128" w="16" h="16" />
<part id="simple_color_border" x="16" y="32" w1="3" w2="6" w3="3" h1="3" h2="6" h3="3" />
<part id="simple_color_selected" x="32" y="32" w1="3" w2="6" w3="3" h1="3" h2="6" h3="3" />
<part id="aseprite_face" x="0" y="272" w="28" h="30" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -412,6 +412,7 @@
<part id="tool_jumble" x="176" y="112" w="16" h="16" />
<part id="tool_configuration" x="144" y="128" w="16" h="16" />
<part id="tool_minieditor" x="160" y="128" w="16" h="16" />
<part id="tool_timeline" x="176" y="128" w="16" h="16" />
<part id="simple_color_border" x="16" y="32" w1="3" w2="6" w3="3" h1="3" h2="6" h3="3" />
<part id="simple_color_selected" x="32" y="32" w1="3" w2="6" w3="3" h1="3" h2="6" h3="3" />
<part id="aseprite_face" x="0" y="272" w="28" h="30" />

View File

@ -349,7 +349,7 @@ void ToolBar::onPaint(ui::PaintEvent& ev)
App::instance()->mainWindow()->getTimelineVisibility());
nw = isHot ? theme->parts.toolbuttonHot():
theme->parts.toolbuttonLast();
icon = theme->getToolIcon("minieditor");
icon = theme->getToolIcon("timeline");
drawToolIcon(g, TimelineVisibilityIndex, nw, icon);
}