doodle/pkg/editor_scene_debug.go

12 lines
307 B
Go
Raw Permalink Normal View History

package doodle
2022-09-24 22:17:25 +00:00
import "git.kirsle.net/SketchyMaze/doodle/pkg/uix"
// TODO: build flags to not include this in production builds.
// This adds accessors for private variables from the dev console.
// GetDrawing returns the uix.Canvas
func (w *EditorScene) GetDrawing() *uix.Canvas {
return w.UI.Canvas
}