@@ -816,16 +816,16 @@ export abstract class RenderedDataPanel extends RenderedPanel {
816816 } ,
817817 ) ;
818818
819- this . overlay_canvas = document . createElement ( ' canvas' ) ;
820- this . overlay_canvas . style . position = ' absolute' ;
821- this . overlay_canvas . style . top = '0' ;
822- this . overlay_canvas . style . left = '0' ;
823- this . overlay_canvas . style . width = ' 100%' ;
824- this . overlay_canvas . style . height = ' 100%' ;
825- this . overlay_canvas . style . pointerEvents = ' none' ;
826- this . overlay_canvas . style . zIndex = '10' ;
819+ this . overlay_canvas = document . createElement ( " canvas" ) ;
820+ this . overlay_canvas . style . position = " absolute" ;
821+ this . overlay_canvas . style . top = "0" ;
822+ this . overlay_canvas . style . left = "0" ;
823+ this . overlay_canvas . style . width = " 100%" ;
824+ this . overlay_canvas . style . height = " 100%" ;
825+ this . overlay_canvas . style . pointerEvents = " none" ;
826+ this . overlay_canvas . style . zIndex = "10" ;
827827 this . element . appendChild ( this . overlay_canvas ) ;
828- this . overlay_context = this . overlay_canvas . getContext ( '2d' ) ! ;
828+ this . overlay_context = this . overlay_canvas . getContext ( "2d" ) ! ;
829829
830830 this . boundsUpdated . add ( ( ) => {
831831 this . overlay_canvas . width = this . renderViewport . logicalWidth ;
@@ -842,19 +842,24 @@ export abstract class RenderedDataPanel extends RenderedPanel {
842842 if ( radius > 0 ) {
843843 ctx . beginPath ( ) ;
844844 ctx . arc ( x , y , radius , 0 , 2 * Math . PI ) ;
845- ctx . fillStyle = ' rgba(255, 255, 255, 0.2)' ;
845+ ctx . fillStyle = " rgba(255, 255, 255, 0.2)" ;
846846 ctx . fill ( ) ;
847- ctx . strokeStyle = ' rgba(255, 255, 255, 1)' ;
847+ ctx . strokeStyle = " rgba(255, 255, 255, 1)" ;
848848 ctx . lineWidth = 3 ;
849849 ctx . stroke ( ) ;
850- ctx . strokeStyle = ' rgba(0, 0, 0, 1)' ;
850+ ctx . strokeStyle = " rgba(0, 0, 0, 1)" ;
851851 ctx . lineWidth = 1.5 ;
852852 ctx . stroke ( ) ;
853853 }
854854 }
855855
856856 clearOverlay ( ) {
857- this . overlay_context . clearRect ( 0 , 0 , this . overlay_canvas . width , this . overlay_canvas . height ) ;
857+ this . overlay_context . clearRect (
858+ 0 ,
859+ 0 ,
860+ this . overlay_canvas . width ,
861+ this . overlay_canvas . height ,
862+ ) ;
858863 }
859864
860865 abstract translateDataPointByViewportPixels (
0 commit comments