mirror of
https://github.com/taigrr/wails.git
synced 2026-04-17 12:15:02 -07:00
Compare commits
4 Commits
v2.0.0-alp
...
v2.0.0-alp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cd08e45f0 | ||
|
|
c2d03f0e6e | ||
|
|
d3501f4cb7 | ||
|
|
ee82cd25b7 |
@@ -1,3 +1,3 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
var version = "v2.0.0-alpha.18"
|
var version = "v2.0.0-alpha.20"
|
||||||
|
|||||||
@@ -740,7 +740,7 @@ void processMenuItem(Menu *menu, id parentMenu, JsonNode *item) {
|
|||||||
const char *image = getJSONString(item, "Image");
|
const char *image = getJSONString(item, "Image");
|
||||||
const char *fontName = getJSONString(item, "FontName");
|
const char *fontName = getJSONString(item, "FontName");
|
||||||
const char *RGBA = getJSONString(item, "RGBA");
|
const char *RGBA = getJSONString(item, "RGBA");
|
||||||
int fontSize = 0;
|
int fontSize = 12;
|
||||||
getJSONInt(item, "FontSize", &fontSize);
|
getJSONInt(item, "FontSize", &fontSize);
|
||||||
|
|
||||||
// If we have an accelerator
|
// If we have an accelerator
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ typedef struct _NSRange {
|
|||||||
#define NSFontWeightUltraLight -0.8
|
#define NSFontWeightUltraLight -0.8
|
||||||
#define NSFontWeightThin -0.6
|
#define NSFontWeightThin -0.6
|
||||||
#define NSFontWeightLight -0.4
|
#define NSFontWeightLight -0.4
|
||||||
#define NSFontWeightRegular 0
|
#define NSFontWeightRegular 0.0
|
||||||
#define NSFontWeightMedium 0.23
|
#define NSFontWeightMedium 0.23
|
||||||
#define NSFontWeightSemibold 0.3
|
#define NSFontWeightSemibold 0.3
|
||||||
#define NSFontWeightBold 0.4
|
#define NSFontWeightBold 0.4
|
||||||
|
|||||||
Reference in New Issue
Block a user