mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-03 09:08:18 -04:00
fix(gioui): disable file load / save dialogs in browser
This at least gets the program to compile into js as sqweek does not work in browser, but we really need to look for a long term solution. How to load & save songs in browser?
This commit is contained in:
parent
079d5a9ef1
commit
c7448699b6
@ -1,3 +1,5 @@
|
|||||||
|
// +build !js
|
||||||
|
|
||||||
package gioui
|
package gioui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
9
tracker/gioui/files_js.go
Normal file
9
tracker/gioui/files_js.go
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
package gioui
|
||||||
|
|
||||||
|
func (t *Tracker) LoadSongFile() {
|
||||||
|
// TODO: how to load songs in browser, just disabling it for now
|
||||||
|
}
|
||||||
|
|
||||||
|
func (t *Tracker) SaveSongFile() {
|
||||||
|
// TODO: how to save songs in browser, just disabling it for now
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user