@@ -141,7 +141,7 @@ export class Label extends HTMLElement {
141141 style . left = Math . max ( boundingBox . width , currentPosition . left )
142142 style . top = boundingBox . height
143143 style . offscreenText = '↗'
144- createOffscreenLabelIndicator ( node_label_id , style . offscreenText , style . hoverText , `calc(100vw - 1.5rem)` , '1rem' , color , adjustRightSideToCount )
144+ createOffscreenLabelIndicator ( node_label_id , style . offscreenText , style . hoverText , `calc(100vw - 1.5rem)` , '1rem' , style . color , adjustRightSideToCount )
145145 } else if ( outsideLeft && ! outsideTop && ! outsideBottom ) {
146146 style . left = boundingBox . width
147147 style . top = Math . max ( boundingBox . height , currentPosition . top )
@@ -151,7 +151,7 @@ export class Label extends HTMLElement {
151151 style . left = window . innerWidth - boundingBox . width
152152 style . top = Math . max ( boundingBox . height , currentPosition . top )
153153 style . offscreenText = '→'
154- createOffscreenLabelIndicator ( node_label_id , style . offscreenText , style . hoverText , `calc(100vw - 1.5rem)` , 'calc(50vh - 0.5rem)' , color , adjustRightSideToCount )
154+ createOffscreenLabelIndicator ( node_label_id , style . offscreenText , style . hoverText , `calc(100vw - 1.5rem)` , 'calc(50vh - 0.5rem)' , style . color , adjustRightSideToCount )
155155 } else if ( outsideBottom && ! outsideLeft && ! outsideRight ) {
156156 style . left = Math . max ( boundingBox . width , currentPosition . left )
157157 style . top = window . innerHeight - boundingBox . height
@@ -166,7 +166,7 @@ export class Label extends HTMLElement {
166166 style . left = Math . max ( boundingBox . width , currentPosition . left )
167167 style . top = window . innerHeight - boundingBox . height
168168 style . offscreenText = '↘'
169- createOffscreenLabelIndicator ( node_label_id , style . offscreenText , style . hoverText , `calc(100vw - 1.5rem)` , '100vh' , color , adjustRightSideToCount )
169+ createOffscreenLabelIndicator ( node_label_id , style . offscreenText , style . hoverText , `calc(100vw - 1.5rem)` , '100vh' , style . color , adjustRightSideToCount )
170170 }
171171 }
172172}
0 commit comments