taataa / tapspace

Zoomable user interface library for web apps.
https://taataa.github.io/tapspace/
MIT License
58 stars 8 forks source link

remove hardcoded background color from ZoomControl #179

Open axelpale opened 5 months ago

axelpale commented 5 months ago

The hardcoded background color is annoying if the client wants round button corners. The background then shows through. It cannot be overridden in stylesheets because it is element-level style, possibly being an artifact from an earlier development stage.

Currently the workaround is: zoomControl.element.style.backgroundColor = 'transparent'

The better solution is to remove the element-level styling completely.