소스 검색

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