Skip to content

Commit e483d9a

Browse files
committed
Use correct region name
1 parent da54244 commit e483d9a

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/21_customizing_gum_ui/snippets

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/21_customizing_gum_ui/snippets/optionsslider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public OptionsSlider(TextureAtlas atlas)
4141
topLevelContainer.Height = 55f;
4242
topLevelContainer.Width = 264f;
4343

44-
TextureRegion backgroundRegion = atlas.GetRegion("slider-background");
44+
TextureRegion backgroundRegion = atlas.GetRegion("panel-background");
4545

4646
// Create the background panel that contains everything
4747
NineSliceRuntime background = new NineSliceRuntime();

0 commit comments

Comments
 (0)