Daniel Salvadori преди 8 години
родител
ревизия
8f1af900a1
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      gui/scroller.go
  2. 2 2
      gui/style.go

+ 1 - 1
gui/scroller.go

@@ -12,7 +12,7 @@ import (
 
 type Scroller struct {
 	Panel                          // Embedded panel
-	vert           bool            // vertical/horizonta scroller flag
+	vert           bool            // vertical/horizontal scroller flag
 	styles         *ScrollerStyles // pointer to current styles
 	items          []IPanel        // list of panels in the scroller
 	hscroll        *ScrollBar      // horizontal scroll bar

+ 2 - 2
gui/style.go

@@ -86,9 +86,9 @@ func setupDefaultStyle() {
 	borderColor := math32.Color4{0, 0, 0, 1}
 	borderColorDis := math32.Color4{0.4, 0.4, 0.4, 1}
 
-	bgColor := math32.Color{0.8, 0.8, 0.8}
+	bgColor := math32.Color{0.85, 0.85, 0.85}
 	bgColor4 := math32.Color4{0, 0, 0, 0}
-	bgColorOver := math32.Color{1, 1, 1}
+	bgColorOver := math32.Color{0.9, 0.9, 0.9}
 	bgColor4Over := math32.Color4{1, 1, 1, 0.5}
 	bgColor4Sel := math32.Color4{0.6, 0.6, 0.6, 1}