Explorar o código

Merge pull request #9016 from Popov72/gui-selectionpanel-expose-panel

GUI: Give access to the internal stack panel of SelectionPanel
David Catuhe %!s(int64=4) %!d(string=hai) anos
pai
achega
ca9512ccb8
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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;