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:
parent
896d714a9e
commit
0601a4481a
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue