1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Make Voxelorama work

This commit is contained in:
Emmanouil Papadeas 2024-07-01 17:22:32 +03:00
parent 896d714a9e
commit 0601a4481a
2 changed files with 5 additions and 0 deletions

View file

@ -162,6 +162,9 @@ class GeneralAPI:
func get_canvas() -> Canvas:
return Global.canvas
func create_value_slider() -> ValueSlider:
return ValueSlider.new()
## Gives ability to add/remove items from menus in the top bar.
class MenuAPI:

View file

@ -774,6 +774,8 @@ func image_menu_id_pressed(id: int) -> void:
DrawingAlgos.crop_to_content()
Global.ImageMenu.RESIZE_CANVAS:
resize_canvas_dialog.popup()
_:
_handle_metadata(id, image_menu)
func effects_menu_id_pressed(id: int) -> void: