mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 13:44:42 -04:00
Check the correct tile mode button in View > Tile Mode when changing between projects
Also changed the buttons to radiobuttons
This commit is contained in:
parent
cf35060e74
commit
46939bd74d
3 changed files with 13 additions and 6 deletions
|
@ -271,10 +271,10 @@ func view_menu_id_pressed(id : int) -> void:
|
|||
Global.canvas.update()
|
||||
|
||||
|
||||
func tile_mode_submenu_id_pressed(id : int):
|
||||
func tile_mode_submenu_id_pressed(id : int) -> void:
|
||||
Global.transparent_checker._init_position(id)
|
||||
for i in range(len(Global.Tile_Mode)):
|
||||
if i != id:
|
||||
if i != id:
|
||||
Global.tile_mode_submenu.set_item_checked(i, false)
|
||||
else:
|
||||
Global.tile_mode_submenu.set_item_checked(i, true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue