File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
articles/tutorials/building_2d_games/21_customizing_gum_ui/snippets Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -85,14 +85,12 @@ public OptionsSlider(TextureAtlas atlas)
8585 offBackground . TextureWidth = offBackgroundRegion . Width ;
8686 offBackground . Width = 28f ;
8787 offBackground . WidthUnits = DimensionUnitType . Absolute ;
88- offBackground . Dock ( Gum . Wireframe . Dock . Left ) ;
8988 innerContainer . AddChild ( offBackground ) ;
9089
9190 TextureRegion middleBackgroundRegion = atlas . GetRegion ( "slider-middle-background" ) ;
9291
9392 // Create the middle track portion of the slider
9493 NineSliceRuntime middleBackground = new NineSliceRuntime ( ) ;
95- middleBackground . Dock ( Gum . Wireframe . Dock . FillVertically ) ;
9694 middleBackground . Texture = middleBackgroundRegion . Texture ;
9795 middleBackground . TextureAddress = TextureAddress . Custom ;
9896 middleBackground . TextureHeight = middleBackgroundRegion . Height ;
You can’t perform that action at this time.
0 commit comments