File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 import { onMount } from ' svelte' ;
77 import clippys , { clippyCount } from ' $lib/clippys' ;
88
9- let watermark = $state (false )
9+ let watermark = $state (true )
1010 let hex = $state (" #ffffff" )
1111 let retry: number | null = $state (null )
1212 let noMouse = $state (false )
5050 clippyCanvas [i ] = canvas ;
5151 }
5252
53- canvas .width = 243 ;
54- canvas .height = 243 ;
53+ canvas .width = 1080 ;
54+ canvas .height = 1080 ;
5555 const ctx = canvas .getContext (' 2d' );
5656 if (! ctx ) return ;
5757
6262 // draw text to canvas "be-clippy.com" rotated 90 degress
6363 if (watermark ) {
6464 ctx .save ();
65- ctx .font = " 16px sans-serif" ;
65+ ctx .font = " 75px sans-serif" ;
6666 ctx .fillStyle = getTextColour ();
67- ctx .translate ((canvas .width / 2 ) + 40 , (canvas .height / 2 ) - 10 );
67+ ctx .translate ((canvas .width / 2 ) + 190 , (canvas .height / 2 ) - 50 );
6868 ctx .rotate (Math .PI / 2 );
6969 ctx .fillText (" be-clippy.com" , 0 , 0 );
7070 ctx .restore ();
You can’t perform that action at this time.
0 commit comments