Removed Run() placeholder
This commit is contained in:
parent
48473f98c5
commit
b1e39f52ac
1 changed files with 2 additions and 3 deletions
5
main.go
5
main.go
|
@ -30,8 +30,6 @@ var (
|
||||||
const finalStep = 3
|
const finalStep = 3
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
spm.Run()
|
|
||||||
|
|
||||||
monitor := rl.GetCurrentMonitor()
|
monitor := rl.GetCurrentMonitor()
|
||||||
if monitor < 0 {
|
if monitor < 0 {
|
||||||
monitor = 0 // Fallback to the primary monitor
|
monitor = 0 // Fallback to the primary monitor
|
||||||
|
@ -259,7 +257,8 @@ func drawRunAppButton(cx, cy float32) {
|
||||||
hovered := overRect(rl.GetMousePosition(), rect)
|
hovered := overRect(rl.GetMousePosition(), rect)
|
||||||
drawRoundedRectButton(rect, "Start Spitfire", 1.0, hovered)
|
drawRoundedRectButton(rect, "Start Spitfire", 1.0, hovered)
|
||||||
if hovered && rl.IsMouseButtonPressed(rl.MouseLeftButton) {
|
if hovered && rl.IsMouseButtonPressed(rl.MouseLeftButton) {
|
||||||
fmt.Println("Launching the app (placeholder)...")
|
fmt.Println("Launching...")
|
||||||
|
spm.Run()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue