mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 10:20:48 +00:00
Minor fix for timeline header of frames
This commit is contained in:
parent
aa9eec2cfd
commit
cc08a054ad
@ -1144,7 +1144,7 @@ void Timeline::drawHeaderFrame(ui::Graphics* g, FrameNumber frame)
|
||||
|
||||
// Draw the header for the layers.
|
||||
char buf[256];
|
||||
std::sprintf(buf, "%d", frame+1);
|
||||
std::sprintf(buf, "%d", (frame+1)%100); // Draw only the first two digits.
|
||||
drawPart(g, bounds, buf, m_timelineBoxStyle,
|
||||
is_active, is_hover, is_clicked);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user