mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
make window opacity and window tile gap size pointers so the value gets sent if it is zero
This commit is contained in:
parent
3e0ca6b41e
commit
779d2d35b7
2
frontend/types/gotypes.d.ts
vendored
2
frontend/types/gotypes.d.ts
vendored
@ -416,7 +416,7 @@ declare global {
|
||||
"window:opacity"?: number;
|
||||
"window:bgcolor"?: string;
|
||||
"window:reducedmotion"?: boolean;
|
||||
"window:tilegapsize": number;
|
||||
"window:tilegapsize"?: number;
|
||||
"telemetry:*"?: boolean;
|
||||
"telemetry:enabled"?: boolean;
|
||||
};
|
||||
|
@ -68,13 +68,13 @@ type SettingsType struct {
|
||||
WidgetClear bool `json:"widget:*,omitempty"`
|
||||
WidgetShowHelp bool `json:"widget:showhelp,omitempty"`
|
||||
|
||||
WindowClear bool `json:"window:*,omitempty"`
|
||||
WindowTransparent bool `json:"window:transparent,omitempty"`
|
||||
WindowBlur bool `json:"window:blur,omitempty"`
|
||||
WindowOpacity float64 `json:"window:opacity,omitempty"`
|
||||
WindowBgColor string `json:"window:bgcolor,omitempty"`
|
||||
WindowReducedMotion bool `json:"window:reducedmotion,omitempty"`
|
||||
WindowTileGapSize int8 `json:"window:tilegapsize"`
|
||||
WindowClear bool `json:"window:*,omitempty"`
|
||||
WindowTransparent bool `json:"window:transparent,omitempty"`
|
||||
WindowBlur bool `json:"window:blur,omitempty"`
|
||||
WindowOpacity *float64 `json:"window:opacity,omitempty"`
|
||||
WindowBgColor string `json:"window:bgcolor,omitempty"`
|
||||
WindowReducedMotion bool `json:"window:reducedmotion,omitempty"`
|
||||
WindowTileGapSize *int8 `json:"window:tilegapsize,omitempty"`
|
||||
|
||||
TelemetryClear bool `json:"telemetry:*,omitempty"`
|
||||
TelemetryEnabled bool `json:"telemetry:enabled,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user