cmd,example: bump gio version

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-06-09 23:24:12 +02:00
parent 6380baacb6
commit b1df2a61a9
7 changed files with 9 additions and 16 deletions
+1 -4
View File
@@ -95,6 +95,7 @@ func main() {
ops.Reset()
gtx := layout.Context{
Ops: &ops,
Now: time.Now(),
Queue: &queue,
Config: &glfwConfig{scale},
Constraints: layout.Exact(sz),
@@ -159,10 +160,6 @@ func registerCallbacks(window *glfw.Window, q *router.Router) {
})
}
func (s *glfwConfig) Now() time.Time {
return time.Now()
}
func (s *glfwConfig) Px(v unit.Value) int {
scale := s.Scale
if v.U == unit.UnitPx {