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:opacity"?: number;
|
||||||
"window:bgcolor"?: string;
|
"window:bgcolor"?: string;
|
||||||
"window:reducedmotion"?: boolean;
|
"window:reducedmotion"?: boolean;
|
||||||
"window:tilegapsize": number;
|
"window:tilegapsize"?: number;
|
||||||
"telemetry:*"?: boolean;
|
"telemetry:*"?: boolean;
|
||||||
"telemetry:enabled"?: boolean;
|
"telemetry:enabled"?: boolean;
|
||||||
};
|
};
|
||||||
|
@ -71,10 +71,10 @@ type SettingsType struct {
|
|||||||
WindowClear bool `json:"window:*,omitempty"`
|
WindowClear bool `json:"window:*,omitempty"`
|
||||||
WindowTransparent bool `json:"window:transparent,omitempty"`
|
WindowTransparent bool `json:"window:transparent,omitempty"`
|
||||||
WindowBlur bool `json:"window:blur,omitempty"`
|
WindowBlur bool `json:"window:blur,omitempty"`
|
||||||
WindowOpacity float64 `json:"window:opacity,omitempty"`
|
WindowOpacity *float64 `json:"window:opacity,omitempty"`
|
||||||
WindowBgColor string `json:"window:bgcolor,omitempty"`
|
WindowBgColor string `json:"window:bgcolor,omitempty"`
|
||||||
WindowReducedMotion bool `json:"window:reducedmotion,omitempty"`
|
WindowReducedMotion bool `json:"window:reducedmotion,omitempty"`
|
||||||
WindowTileGapSize int8 `json:"window:tilegapsize"`
|
WindowTileGapSize *int8 `json:"window:tilegapsize,omitempty"`
|
||||||
|
|
||||||
TelemetryClear bool `json:"telemetry:*,omitempty"`
|
TelemetryClear bool `json:"telemetry:*,omitempty"`
|
||||||
TelemetryEnabled bool `json:"telemetry:enabled,omitempty"`
|
TelemetryEnabled bool `json:"telemetry:enabled,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user