mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-26 02:34:23 +00:00
Drags, Sliders: Tweaks.
This commit is contained in:
parent
fa279a6aa0
commit
fb0f2ebd41
4 changed files with 47 additions and 41 deletions
|
|
@ -973,6 +973,7 @@ void ImGuiStyle::ScaleAllSizes(float scale_factor)
|
|||
ScrollbarRounding = ImFloor(ScrollbarRounding * scale_factor);
|
||||
GrabMinSize = ImFloor(GrabMinSize * scale_factor);
|
||||
GrabRounding = ImFloor(GrabRounding * scale_factor);
|
||||
LogSliderDeadzone = ImFloor(LogSliderDeadzone * scale_factor);
|
||||
TabRounding = ImFloor(TabRounding * scale_factor);
|
||||
if (TabMinWidthForUnselectedCloseButton != FLT_MAX)
|
||||
TabMinWidthForUnselectedCloseButton = ImFloor(TabMinWidthForUnselectedCloseButton * scale_factor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue