mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-21 11:29:29 +08:00
[v3 linux] auto-toggle devtools (if enabled)
This commit is contained in:
parent
7e63355353
commit
c7c4cacc29
@ -424,6 +424,9 @@ func (w *linuxWebviewWindow) run() {
|
||||
w.center() // needs to be queued until after GTK starts up!
|
||||
}
|
||||
}
|
||||
if w.parent.options.DevToolsEnabled {
|
||||
w.toggleDevTools()
|
||||
}
|
||||
}
|
||||
|
||||
func (w *linuxWebviewWindow) setTransparent() {
|
||||
|
Loading…
Reference in New Issue
Block a user