mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-16 08:59:29 +08:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
bcd8f29334
@ -1,4 +1,4 @@
|
||||
package cmd
|
||||
|
||||
// Version - Wails version
|
||||
const Version = "v1.16.4-pre1"
|
||||
const Version = "v1.16.4-pre3"
|
||||
|
@ -2155,6 +2155,10 @@ struct webview_priv
|
||||
objc_setAssociatedObject(w->priv.delegate, "webview", (id)(w),
|
||||
OBJC_ASSOCIATION_ASSIGN);
|
||||
|
||||
// Disable damn smart quotes
|
||||
// Credit: https://stackoverflow.com/a/31640511
|
||||
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSAutomaticQuoteSubstitutionEnabled"];
|
||||
|
||||
NSRect r = NSMakeRect(0, 0, w->width, w->height);
|
||||
NSUInteger style = NSWindowStyleMaskTitled | NSWindowStyleMaskClosable |
|
||||
NSWindowStyleMaskMiniaturizable;
|
||||
|
Loading…
Reference in New Issue
Block a user