tomayac / fugu-greetings

A sample app that features a lot of Project Fugu 🐡 APIs.
https://tomayac.github.io/fugu-greetings/public/
Apache License 2.0
62 stars 8 forks source link

Fix drawing in dark mode #38

Closed christianliebel closed 3 years ago

christianliebel commented 3 years ago

In dark mode, the canvas is assigned a height of 100%. As a result, it will be assigned the height of the parent element of 100vh, ignoring the height of the menu. The canvas will be larger than the actual viewport, and therefore the drawing will deviate the further down you move the pointer.

Untitled