Addjust blind icon threshold to maximum window-open-save extention

This commit is contained in:
Ranlvor 2022-09-06 00:16:39 +02:00
parent b6c7ba89cb
commit eb7d1f7c5d
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -669,8 +669,8 @@ const config: Config = {
name: "Jalousien Büro",
position: [170,658],
icon: withState((s) => (
(s["officeBlindLeftposition"] < 7 &&
s["officeBlindRightposition"] < 7) ?
(s["officeBlindLeftposition"] <= 9 &&
s["officeBlindRightposition"] <= 9) ?
svg(icons.mdiBlindsOpen) :
svg(icons.mdiBlinds)
)),