@@ -102,21 +102,21 @@ enum UpdateLocationStrategy {
102102 mainScreen. frame. height - editorFrame. minY - Style. widgetHeight - Style
103103 . widgetPadding
104104 )
105-
105+
106106 var proposedAnchorFrameOnTheRightSide = CGRect (
107- x: editorFrame. maxX,
107+ x: editorFrame. maxX - Style . widgetPadding ,
108108 y: y,
109109 width: 0 ,
110110 height: 0
111111 )
112-
112+
113113 let widgetFrameOnTheRightSide = CGRect (
114114 x: editorFrame. maxX - Style. widgetPadding - Style. widgetWidth,
115115 y: y,
116116 width: Style . widgetWidth,
117117 height: Style . widgetHeight
118118 )
119-
119+
120120 if !hideCircularWidget {
121121 proposedAnchorFrameOnTheRightSide = widgetFrameOnTheRightSide
122122 }
@@ -158,23 +158,23 @@ enum UpdateLocationStrategy {
158158 )
159159 } else {
160160 var proposedAnchorFrameOnTheLeftSide = CGRect (
161- x: editorFrame. minX,
161+ x: editorFrame. minX + Style . widgetPadding ,
162162 y: proposedAnchorFrameOnTheRightSide. origin. y,
163163 width: 0 ,
164164 height: 0
165165 )
166-
166+
167167 let widgetFrameOnTheLeftSide = CGRect (
168168 x: editorFrame. minX + Style. widgetPadding,
169169 y: proposedAnchorFrameOnTheRightSide. origin. y,
170170 width: Style . widgetWidth,
171171 height: Style . widgetHeight
172172 )
173-
173+
174174 if !hideCircularWidget {
175175 proposedAnchorFrameOnTheLeftSide = widgetFrameOnTheLeftSide
176176 }
177-
177+
178178 let proposedPanelX = proposedAnchorFrameOnTheLeftSide. minX - Style
179179 . widgetPadding * 2 - Style. panelWidth
180180 let putAnchorToTheLeft = {
0 commit comments