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:
authorTyler Seacrest <tylerseacrest>2020-01-22 20:48:53 +0300
committerJulian Eisel <eiseljulian@gmail.com>2020-01-22 20:49:03 +0300
commite769be1f340beef40fe99438412777ba95bfaa30 (patch)
tree65c3db340a882e6b4a8a35f77daa0571ccf29083 /source/blender/editors/interface/view2d.c
parentc68c160e7b4e1b3e921208f545641250c49ebcc3 (diff)
Bugfix for T69413
Fixes the invisible scrollbar when opening preferences by 'Editor Type' by always creating scrollbars for V2D_COMMONVIEW_PANELS_UI objects. This removes a fix (T47047) for dpi issues when dragging out the toolbox. The new toolbox in 2.8 does not seem to have the same DPI issues. Exact steps for others to reproduce scrollbar invisible (T69413): change the 3d viewport to preferences and go to addons. The scrollbar will not be visible To verify there are no DPI issues: Apply the patch and open blender. Hide the toolbar. Split the 3d view port into 4 windows, such that one is very small horizontally, another is very small vertically, and a third is small in both directions. Drag out the toolbar arrow on all four viewports. The Toolbar will be the same size in each. For further verification, adjust the scaling and repeat. {F7805968} Also this is my first time submitting a patch. Some instruction is welcome! Reviewed By: #user_interface, Severin Maniphest Tasks: T69413 Differential Revision: https://developer.blender.org/D6050
Diffstat (limited to 'source/blender/editors/interface/view2d.c')
-rw-r--r--source/blender/editors/interface/view2d.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c
index a3f84e7bdd0..a23bd7dad35 100644
--- a/source/blender/editors/interface/view2d.c
+++ b/source/blender/editors/interface/view2d.c
@@ -354,11 +354,6 @@ void UI_view2d_region_reinit(View2D *v2d, short type, int winx, int winy)
/* note, scroll is being flipped in ED_region_panels() drawing */
v2d->scroll |= (V2D_SCROLL_HORIZONTAL_HIDE | V2D_SCROLL_VERTICAL_HIDE);
- /* initialize without scroll bars (interferes with zoom level see: T47047) */
- if (do_init) {
- v2d->scroll |= (V2D_SCROLL_VERTICAL_FULLR | V2D_SCROLL_HORIZONTAL_FULLR);
- }
-
if (do_init) {
float panelzoom = (style) ? style->panelzoom : 1.0f;