From 08b318b93bd5f5c1e2080c732727d1fcc6a61d8b Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 8 Dec 2023 20:22:04 +0100 Subject: [PATCH] Added behavior --- I18N Commander/App/scenes/BtnIcon.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/I18N Commander/App/scenes/BtnIcon.cs b/I18N Commander/App/scenes/BtnIcon.cs index a2a6351..eeb786f 100644 --- a/I18N Commander/App/scenes/BtnIcon.cs +++ b/I18N Commander/App/scenes/BtnIcon.cs @@ -10,5 +10,18 @@ public partial class BtnIcon : Control [Export] [ExportGroup("Data")] - public Texture Icon { get; set; } + public Texture2D Icon { get; set; } + + #region Overrides of Node + + public override void _Ready() + { + var button = this.GetNode