mirror of
https://github.com/Fluffy-Bean/ColouringApp.git
synced 2025-05-19 09:54:57 +00:00
Support resizing canvas though not used really
This commit is contained in:
parent
00c449abff
commit
9cfdd651b7
2 changed files with 4 additions and 1 deletions
3
main.go
3
main.go
|
@ -58,7 +58,7 @@ func main() {
|
|||
var (
|
||||
camera = raylib.NewCamera2D(raylib.NewVector2(0, 0), raylib.NewVector2(0, 0), 0, 1)
|
||||
|
||||
canvas = NewCanvas("NewProject", raylib.NewVector2(600, 530), raylib.NewVector2(15, 15))
|
||||
canvas = NewCanvas("NewProject", raylib.NewVector2(700, 530), raylib.NewVector2(15, 15))
|
||||
currentStroke = penTool{}
|
||||
|
||||
sidePanelWidth = float32(350)
|
||||
|
@ -210,6 +210,7 @@ func main() {
|
|||
if choice == 0 || choice == 1 {
|
||||
state = StateNormal
|
||||
}
|
||||
default:
|
||||
}
|
||||
|
||||
DrawToasts()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue