diff --git a/blendish.h b/blendish.h index 3c8c303..a897de6 100644 --- a/blendish.h +++ b/blendish.h @@ -222,6 +222,9 @@ typedef enum BNDcornerFlags { // width of node title arrow click area #define BND_NODE_ARROW_AREA_WIDTH 20 +// size of splitter corner click area +#define BND_SPLITTER_AREA_SIZE 12 + // width of vertical scrollbar #define BND_SCROLLBAR_WIDTH 13 // height of horizontal scrollbar diff --git a/oui.h b/oui.h index baec3bc..3ac8e76 100644 --- a/oui.h +++ b/oui.h @@ -1308,8 +1308,8 @@ int uiFindItem(int item, int x, int y, int ox, int oy) { } // click-through if the item has no handler for input events if (pitem->event_flags & UI_ANY_INPUT) { - rect.x += ox; - rect.y += oy; + rect.x = ox; + rect.y = oy; ui_context->hot_rect = rect; return item; }