From 85666467056ccae2011128e0d38ea2dbd1efee8a Mon Sep 17 00:00:00 2001 From: Physcik Date: Fri, 6 Feb 2026 01:55:27 +0500 Subject: Menu description pt. 1 --- engine/UI/Style.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/UI/Style.go') diff --git a/engine/UI/Style.go b/engine/UI/Style.go index 1e05bcf..f308fba 100644 --- a/engine/UI/Style.go +++ b/engine/UI/Style.go @@ -17,16 +17,16 @@ type Style struct { // Fills up not specifiend elements with default ones func (base *Style) FillMissing(defaultStyle *Style) { if base.BacgroundColor == nil { - base.BacgroundColor = defaultLabelStyle.BacgroundColor + base.BacgroundColor = defaultStyle.BacgroundColor } if base.Padding == nil { - base.Padding = defaultLabelStyle.Padding + base.Padding = defaultStyle.Padding } if base.FontColor == nil { - base.FontColor = defaultLabelStyle.FontColor + base.FontColor = defaultStyle.FontColor } if base.Roundness == nil { - base.Roundness = defaultLabelStyle.Roundness + base.Roundness = defaultStyle.Roundness } } -- cgit v1.3