Metamatrix / web-disability-simulator

A Google Chrome extension that simulates how people with disabilities can experience a webpage.
27 stars 5 forks source link

Fix double cursor in Parkinson's simulation #2

Closed selfthinker closed 5 years ago

selfthinker commented 5 years ago

The Parkinson's simulation always shows two cursors.

This fixes that to only use one.

While I was at it, I also moved all possible styles that were set via JS into the CSS file. And I swapped the default cursor to be the Mac and not the Windows cursor. That way Chromebooks would get the correct cursor as well. (I guess Linux cursors are too diverse to try to find the best one for it.)

I can created separate PRs for these three different issues, if you prefer.

I've never worked on a Chrome extension, so only tested this in a local file.

andreasnylin commented 5 years ago

Very good! I will review it and merge it this week.

andreasnylin commented 5 years ago

Seems to work fine. I will merge this now.