earlSt1 / vtt-custom-nameplates

Custom Nameplates for FoundryVTT
GNU General Public License v3.0
1 stars 2 forks source link

Suggestion: Auto-scaling for Nameplates #3

Closed LorduFreeman closed 3 years ago

LorduFreeman commented 3 years ago

Liking this module a lot, the only thing I'm currently missing (apart from Custom Fonts): Add auto-scaling of names depending on the zoom-level of the viewer (zooming out = names size up and vice versa).

earlSt1 commented 3 years ago

Thanks, I like that idea! Might have a look into that at the weekend :)

earlSt1 commented 3 years ago

Hi, I've started work on some kind of auto-scaling feature, it seems to work ok. If you'd like to test it you can install the testing version using this manifest: https://raw.githubusercontent.com/earlSt1/vtt-custom-nameplates/08x-update/test/module.json

In the font settings config window there is now an option for Auto scale (i dont think it's set to whatever the setting currently is, so it will always be unticked even if the setting is set).

LorduFreeman commented 3 years ago

Works pretty well for me (at far zoom levels it seems to stop scaling), thanks for including it!

LorduFreeman commented 3 years ago

Reopening issue for a bug report: Dragging a token and zooming while dragging causes a weird glitch where the token sticks to the relative position and stops getting dragged along.

earlSt1 commented 3 years ago

Whoa thats so trippy :smile: I'll jump on it.

Also I pinched 2 lines from Kandashi's Easy Ruler Scale (https://github.com/kandashi/easy-ruler-scale) so scaling will be a lot more pronounced when zooming out far

earlSt1 commented 3 years ago

Feature now in v2.0.4