mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
[v3 linux] update devtools behavior to match win/mac
This commit is contained in:
@@ -314,7 +314,7 @@ func (w *linuxWebviewWindow) setResizable(resizable bool) {
|
||||
}
|
||||
|
||||
func (w *linuxWebviewWindow) toggleDevTools() {
|
||||
windowToggleDevTools(w.webview)
|
||||
showDevTools(w.webview)
|
||||
}
|
||||
|
||||
func (w *linuxWebviewWindow) size() (int, int) {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
//go:build linux && !production
|
||||
|
||||
package application
|
||||
|
||||
func init() {
|
||||
showDevTools = func(wv pointer) {
|
||||
windowToggleDevTools(wv)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user