File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export function App() {
4444 { actionSelections }
4545 < uilistlayout Padding = { new UDim ( 0 , 5 ) } SortOrder = { Enum . SortOrder . LayoutOrder } key = "layout" />
4646 </ scrollingframe >
47+
4748 < frame
4849 BackgroundTransparency = { 1 }
4950 Position = { UDim2 . fromScale ( ACTIONS_WIDTH , 0 ) }
@@ -52,6 +53,21 @@ export function App() {
5253 >
5354 { selectedAction && < ActionState state = { selectedAction . state } /> }
5455 </ frame >
56+
57+ { actions . isEmpty ( ) && (
58+ < textlabel
59+ AnchorPoint = { new Vector2 ( 0.5 , 0.5 ) }
60+ AutomaticSize = { Enum . AutomaticSize . XY }
61+ BackgroundTransparency = { 1 }
62+ Font = { Enum . Font . SourceSans }
63+ Position = { UDim2 . fromScale ( 0.5 , 0.5 ) }
64+ Text = "Oopsie woopsie, no actions here yet! Try dispatching some."
65+ TextColor3 = { settings ( ) . Studio . Theme . GetColor ( Enum . StudioStyleGuideColor . DimmedText ) }
66+ TextSize = { 16 }
67+ TextWrapped
68+ key = "empty"
69+ />
70+ ) }
5571 </ frame >
5672 )
5773}
You can’t perform that action at this time.
0 commit comments