Skip to content

Commit

Permalink
set default actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MakovWait committed Mar 18, 2024
1 parent e7cbca6 commit 3e5782f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/editors/local/editor_item/editor_item.gd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ signal tag_clicked(tag)

static var settings := EditorItemActions.Settings.new(
'editor-item-inline-actions',
[]
['run', 'remove']
)

var _actions: Action.List
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Settings:
changed.emit()

func is_show_text() -> bool:
return _show_text.ret(false)
return _show_text.ret(true)

func set_show_text(value: bool):
_show_text.put(value)
Expand Down
2 changes: 1 addition & 1 deletion src/components/projects/project_item/project_item.gd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ signal tag_clicked(tag)

static var settings := ProjectItemActions.Settings.new(
'project-item-inline-actions',
[]
['run', 'edit', 'remove']
)

var _actions: Action.List
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class Settings:
changed.emit()

func is_show_text() -> bool:
return _show_text.ret(false)
return _show_text.ret(true)

func set_show_text(value: bool):
_show_text.put(value)
Expand Down

0 comments on commit 3e5782f

Please sign in to comment.