mirror of
https://codeberg.org/Ikatono/TierMaker.git
synced 2025-10-28 20:45:35 -05:00
tested version with most of the final functionality. Still a few known issues, like dragging to a row that extends to multiple lines
This commit is contained in:
@@ -39,10 +39,15 @@ public partial class row_edit_popup : PanelContainer
|
||||
}
|
||||
public void Reset()
|
||||
{
|
||||
Hide();
|
||||
GetNode<ColorPickerButton>("%ColorPickerButton").Color = DefaultColor;
|
||||
GetNode<TextEdit>("%RowTextEdit").Text = "";
|
||||
EditingRow = null;
|
||||
Hide();
|
||||
this.GetParentOfType<game>().MenuClosedEnableInteraction();
|
||||
}
|
||||
public void DeleteRow()
|
||||
{
|
||||
EditingRow.QueueFree();
|
||||
Reset();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user