Skip to content

Commit bfdbb9e

Browse files
authored
Fixes
1 parent c6f1ef6 commit bfdbb9e

File tree

1 file changed

+1
-2
lines changed
  • addons/block_code/ui/blocks/block

1 file changed

+1
-2
lines changed

addons/block_code/ui/blocks/block/block.gd

+1-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var pinned: bool:
6161
block_pinned_panel.self_modulate = Color(1, 1, 1, 0.75)
6262

6363
var block_pinned_icon := TextureRect.new()
64-
block_pinned_icon.texture = _icon_pin
64+
block_pinned_icon.texture = EditorInterface.get_editor_theme().get_icon("Pin", "EditorIcons")
6565

6666
block_pinned_panel.add_child(block_pinned_icon)
6767
block_pinned_container.add_child(block_pinned_panel)
@@ -79,7 +79,6 @@ var _block_extension: BlockExtension
7979
var _block_canvas: Node
8080

8181
@onready var _context := BlockEditorContext.get_default()
82-
@onready var _icon_pin := EditorInterface.get_editor_theme().get_icon("Pin", "EditorIcons")
8382

8483

8584
func _ready():

0 commit comments

Comments
 (0)