Преглед изворни кода

Give access to the internal stack panel of SelectionPanel

Popov72 пре 4 година
родитељ
комит
a8c00c703b
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      gui/src/2D/controls/selector.ts

+ 5 - 0
gui/src/2D/controls/selector.ts

@@ -325,6 +325,11 @@ export class SelectionPanel extends Rectangle {
         return "SelectionPanel";
     }
 
+    /** Gets the (stack) panel of the SelectionPanel  */
+    public get panel(): StackPanel {
+        return this._panel;
+    }
+
     /** Gets or sets the headerColor */
     public get headerColor(): string {
         return this._headerColor;