mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 14:50:41 -07:00
overlay: UI scaling option (#495)
## Link to GitHub Issue, if one exists #477 ## Description of change Add a new option for scaling the overlay. Gitadora Arena will receive 250% by default. Various overlay windows have been updated to scale properly, not perfect but they are at least usable.
This commit is contained in:
@@ -21,7 +21,7 @@ namespace overlay::windows {
|
||||
CameraControl::CameraControl(SpiceOverlay *overlay) : Window(overlay) {
|
||||
this->title = "IIDX Camera Control";
|
||||
this->flags |= ImGuiWindowFlags_AlwaysAutoResize;
|
||||
this->init_pos = ImVec2(40, 40);
|
||||
this->init_pos = overlay::apply_scaling_to_vector(40, 40);
|
||||
this->toggle_button = games::OverlayButtons::ToggleCameraControl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user