Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion material_maker/widgets/pixels_edit/pixels_editor.gd
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func _ready() -> void:
get_parent().add_menu_bar(menu_bar, self)

func is_mouse_in_canvas() -> bool:
return Rect2(draw_offset, draw_size).has_point(get_local_mouse_position())
return Rect2(draw_offset, draw_size).has_point(get_local_mouse_position()) and is_visible_in_tree()

func _draw() -> void:
super._draw()
Expand Down
Loading