diff options
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index a41fa2d5cb5..3ce658a174f 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -710,7 +710,7 @@ void uiDrawBlock(const bContext *C, uiBlock *block) glPushMatrix(); glLoadIdentity(); - wmOrtho2(0.0f, ar->winx, 0.0f, ar->winy); + wmOrtho2(-0.01f, ar->winx-0.01f, -0.01f, ar->winy-0.01f); /* back */ if(block->flag & UI_BLOCK_LOOP) @@ -760,6 +760,7 @@ static void ui_is_but_sel(uiBut *but) case KEYEVT: if (value==-1) push= 1; break; + case TOGBUT: case TOG: case TOGR: case TOG3: |