mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-03-01 07:50:25 +01:00
always auto resize linear view settings
This commit is contained in:
parent
1a5044d371
commit
a785aef0db
@ -785,7 +785,7 @@ void LinearView::set_zoom(int newZoom) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void LinearView::display_settings() {
|
void LinearView::display_settings() {
|
||||||
if (ImGui::Begin("Linear View Settings", &shouldDisplaySettings)) {
|
if (ImGui::Begin("Linear View Settings", &shouldDisplaySettings, ImGuiWindowFlags_AlwaysAutoResize)) {
|
||||||
if (ImGui::SliderInt("Zoom##Linear View Settings", &zoom, -10, 10, "%d")) {
|
if (ImGui::SliderInt("Zoom##Linear View Settings", &zoom, -10, 10, "%d")) {
|
||||||
set_zoom(zoom);
|
set_zoom(zoom);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user