impress/app
Emi Matchu b2a23b3e7b Add magnification when editing pet appearance
I couldn't find a library for this functionality that didn't require
jQuery, and I don't want to be adding *more* jQuery requirements. So, I
decided to throw together my own!

The `<magic-magnifier>` component copies its contents into a "lens"
element, then uses basic JS to track mouse position, then uses CSS to
move the lens and its contents into a helpful position.

One thing I noticed here is that the zoom is a bit crunchy because
we're using PNG images, and it's hard to zoom in even further than we
already are. I might try switching this UI to use the SVG images by
default instead?
2024-12-07 11:39:37 -08:00
..
assets Add magnification when editing pet appearance 2024-12-07 11:39:37 -08:00
controllers Add layers table to pet appearance edit page 2024-12-07 09:58:24 -08:00
helpers Add layers table to pet appearance edit page 2024-12-07 09:58:24 -08:00
javascript Move Alt Styles into /rainbow-pool URLs, say "Pet Styles" more in text 2024-10-11 15:37:37 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Add layers table to pet appearance edit page 2024-12-07 09:58:24 -08:00
services Oops, fix bug when loading species with no alt styles in the Studio 2024-11-14 19:03:06 -08:00
views Add magnification when editing pet appearance 2024-12-07 11:39:37 -08:00