Преглед изворни кода

Remove unused property 'focusable'

Daniel Salvadori пре 6 година
родитељ
комит
b739a903fe
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      gui/panel.go

+ 2 - 3
gui/panel.go

@@ -61,9 +61,8 @@ type Panel struct {
 	*graphic.Graphic                    // Embedded graphic
 	mat              *material.Material // panel material
 
-	bounded   bool // Whether panel is bounded by its parent
-	enabled   bool // Whether event should be processed for this panel
-	focusable bool // Whether panel can be focused on mouse down (so it receives key events)
+	bounded bool // Whether panel is bounded by its parent
+	enabled bool // Whether event should be processed for this panel
 
 	layout       ILayout     // current layout for children
 	layoutParams interface{} // current layout parameters used by container panel