mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-04 06:40:07 +00:00
only integer timeline zoom sizes to fit the style
This commit is contained in:
parent
9ec5587d72
commit
2075109a5a
@ -6,7 +6,7 @@
|
||||
<grid columns="3">
|
||||
<check id="thumb_enabled" text="Force" />
|
||||
<label text="Zoom:" />
|
||||
<slider min="10" max="100" id="zoom" cell_align="horizontal" width="128" />
|
||||
<slider min="1" max="10" id="zoom" cell_align="horizontal" width="128" />
|
||||
|
||||
<check id="thumb_overlay_enabled" text="Overlay"/>
|
||||
<label text="Size:" />
|
||||
|
@ -133,7 +133,7 @@ void ConfigureTimelinePopup::updateWidgetsFromCurrentSettings()
|
||||
break;
|
||||
}
|
||||
|
||||
m_box->zoom()->setValue(docPref.thumbnails.zoom() * 10.0);
|
||||
m_box->zoom()->setValue(docPref.thumbnails.zoom());
|
||||
m_box->thumbBackground()->setColor(docPref.thumbnails.background());
|
||||
m_box->thumbEnabled()->setSelected(docPref.thumbnails.enabled());
|
||||
m_box->thumbOverlayEnabled()->setSelected(docPref.thumbnails.overlayEnabled());
|
||||
@ -211,7 +211,7 @@ void ConfigureTimelinePopup::onPositionChange()
|
||||
|
||||
void ConfigureTimelinePopup::onZoomChange()
|
||||
{
|
||||
docPref().thumbnails.zoom(m_box->zoom()->getValue()/10.0);
|
||||
docPref().thumbnails.zoom(m_box->zoom()->getValue());
|
||||
}
|
||||
|
||||
void ConfigureTimelinePopup::onThumbQualityChange()
|
||||
|
Loading…
x
Reference in New Issue
Block a user