mirror of
https://github.com/Fluffy-Bean/ColouringApp.git
synced 2024-12-28 01:56:07 +00:00
style: format code with Gofumpt
This commit fixes the style issues introduced in afd1b0d
according to the output
from Gofumpt.
Details: None
This commit is contained in:
parent
afd1b0d5f7
commit
dfb8285809
2
main.go
2
main.go
|
@ -17,7 +17,7 @@ func main() {
|
||||||
raylib.SetConfigFlags(raylib.FlagWindowResizable) // | raylib.FlagWindowHighdpi | raylib.FlagMsaa4xHint)
|
raylib.SetConfigFlags(raylib.FlagWindowResizable) // | raylib.FlagWindowHighdpi | raylib.FlagMsaa4xHint)
|
||||||
raylib.InitWindow(applicationWindowWidth, applicationWindowHeight, applicationTitle)
|
raylib.InitWindow(applicationWindowWidth, applicationWindowHeight, applicationTitle)
|
||||||
raylib.SetWindowMinSize(int(applicationMinWindowWidth), int(applicationMinWindowHeight))
|
raylib.SetWindowMinSize(int(applicationMinWindowWidth), int(applicationMinWindowHeight))
|
||||||
//raylib.SetTargetFPS(int32(raylib.GetMonitorRefreshRate(raylib.GetCurrentMonitor())))
|
// raylib.SetTargetFPS(int32(raylib.GetMonitorRefreshRate(raylib.GetCurrentMonitor())))
|
||||||
raylib.SetTargetFPS(60)
|
raylib.SetTargetFPS(60)
|
||||||
raylib.SetExitKey(raylib.KeyNull)
|
raylib.SetExitKey(raylib.KeyNull)
|
||||||
raylib.HideCursor()
|
raylib.HideCursor()
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
raylib "github.com/gen2brain/raylib-go/raylib"
|
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
|
raylib "github.com/gen2brain/raylib-go/raylib"
|
||||||
)
|
)
|
||||||
|
|
||||||
type rectangleTool struct {
|
type rectangleTool struct {
|
||||||
|
|
Loading…
Reference in a new issue