Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-22 23:04:06 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-24 12:10:08 +0300
commit1ba91ae2c02863b3fd97810e7bcee902dac58992 (patch)
tree54415920f37052edeca7855c7e60e16fddb30c03 /source/blender/editors/interface/resources.c
parent1da12885444c9743e474461f3d7364588d54344e (diff)
UI: fix inconsistency in button rounding when zooming in.
Some widgets would have rounding relative to the button size, others absolute. Now it's always absolute. Note changing Display Scale in the user prefs is not zooming, the rounding still scales with that.
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r--source/blender/editors/interface/resources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c
index 1bc834a121c..593d935e8f3 100644
--- a/source/blender/editors/interface/resources.c
+++ b/source/blender/editors/interface/resources.c
@@ -2966,7 +2966,7 @@ void init_userdef_do_versions(void)
btheme->tui.wcol_tool.roundness = 0.2f;
btheme->tui.wcol_text.roundness = 0.2f;
btheme->tui.wcol_radio.roundness = 0.2f;
- btheme->tui.wcol_option.roundness = 0.333333f;
+ btheme->tui.wcol_option.roundness = 0.2f;
btheme->tui.wcol_toggle.roundness = 0.25f;
btheme->tui.wcol_num.roundness = 0.5f;
btheme->tui.wcol_numslider.roundness = 0.5f;