mmmrqs / bl_ui_widgets

UI Widgets for Blender 2.8 and newer versions
GNU General Public License v3.0
46 stars 5 forks source link

ui_patch mouse_up functionality captures ALL clicks #4

Closed SuddenDevelopment closed 1 year ago

SuddenDevelopment commented 1 year ago

I can see in the ui_button where the rectangle of the area is compared ot the click to know if it should do something.

in the "patch" code it does not.

the patch code doesnt have a click function tied to it in the demo so I think that's how this was missed

SuddenDevelopment commented 1 year ago

I solved this one myself, used button instead of patch :)