Revert "fix: no right-click Cut/Copy/Paste in release builds"
Reverts 30d8827. Ctrl+C / Ctrl+V already work in the app, so the WebView's
default menu only added Refresh / Save as on the neutral areas — noise in an
application window, for nothing gained. Changelog entry dropped with it.
This commit is contained in:
@@ -118,12 +118,6 @@ func main() {
|
||||
// buttons. Windows still draws the resize borders and honours Aero Snap,
|
||||
// which is why the frame is dropped rather than the whole chrome.
|
||||
Frameless: true,
|
||||
// Right-click → Cut / Copy / Paste. Wails disables the WebView's context
|
||||
// menu in production builds, so an operator could not paste a cluster
|
||||
// address, an API key or a callsign anywhere in the app — Ctrl+V worked,
|
||||
// but nothing said so, and pasting is exactly what you do with a key
|
||||
// copied off a web page.
|
||||
EnableDefaultContextMenu: true,
|
||||
// Start hidden and reveal only once the saved position has been applied and
|
||||
// the DOM has painted (OnDomReady → domReady) — so the window appears
|
||||
// already at its final size and position, with no post-launch jump.
|
||||
|
||||
Reference in New Issue
Block a user