[NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method.

This commit is contained in:
bruvzg
2024-07-08 09:36:56 +03:00
parent 42e5b3ac2d
commit eddc9cea11
9 changed files with 62 additions and 64 deletions

View File

@@ -52,6 +52,7 @@ enum GlobalMenuCheckType {
Callable hover_callback;
Variant meta;
GlobalMenuCheckType checkable_type;
bool checked;
int max_states;
int state;
Ref<Image> img;