mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 12:33:14 +00:00
Added pattern file name as a tooltip for their buttons
This commit is contained in:
parent
b47685e857
commit
e04b79dd4b
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,8 @@ func import_patterns(priority_ordered_search_path: Array) -> void:
|
|||
var err := image.load(path.plus_file(pattern))
|
||||
if err == OK:
|
||||
image.convert(Image.FORMAT_RGBA8)
|
||||
Global.patterns_popup.add(image)
|
||||
var tooltip_name = pattern.get_basename()
|
||||
Global.patterns_popup.add(image, tooltip_name)
|
||||
|
||||
|
||||
func import_gpl(path : String, text : String) -> Palette:
|
||||
|
|
Loading…
Add table
Reference in a new issue