zeel01 / pin-fixer Goto Github PK
View Code? Open in Web Editor NEWMake map pins remain the same size regardless of zoom level.
License: MIT License
Make map pins remain the same size regardless of zoom level.
License: MIT License
core: 0.7.8
system: SWS 0.4
pin-fixer: 1.0.4
✔️ Reproduces with only pin-fixer active.
Have a world with two scenes.
One scene has pins and fog exploration enabled.
Place a token with vision down.
Give this scene both of these options:
Expected: Pins should be visible above fog.
Actual: Pins are not visible above fog after step 4.
This only happens when both mentioned settings are set. Workaround is to not lock pins if you want them above fog.
While Show Map Pins Above Fog is active, hovering over any pin on top of fog makes it disappear. It should not.
Zooming in and out makes them reappear. But they disappear again, if hovering over the pins once more.
Pins that are being "unhidden" disregarding scale, also disregard permissions.
Not a huge issue, but when using the levels module, when scrolling it brings all of the map notes to the current level regardless of which level they are placed on. Mousing over a note will move it back to its intended layer/level, but its sort of annoying having the pins all crowding ontop of each other
Love the module, but setting it per scene is annoying, especially when you're importing many scenes at once from a premium content module. Could we please get something in module settings that can change the initial configuration, and either a button in the settings area or a macro to apply that to all scenes?
the zoom ceiling is defaulting to 5 but does not allow anything to be saved if greater than 3... I think it might have taken it from "pan/zoom options setting, which can be greater
Greetings!
I was wondering if you could implement this scaling per pin on a scene. I want this because I am producing a world map full of journal notes, but would rather only see specific journal notes based on zoom. For example, on a world map I might want to see the pin that represents the country, instead of every country/province/town. With this feature, I'd be able to set the country map pins to be visible when fully zoomed out, and then have the town pins visible when zoomed in. Additionally, I need this solution for a module I'm working on that imports World Maps from Azgaar's Fantasy Map Generator.
I am also open to making a PR for this, so just let me know.
Thanks,
Ethck
1.) If I don't have "Always Show Pin Label" checked, I don't see the pin labels when I hover over the pin with the cursor.
2.) Pins don't always appear. Sometimes they appear when I click on a token... but then vanish when I resize the screen.
Tested with no other mods active.
core: 0.7.8
system: SWS 0.4
pin-fixer: 1.0.4
✔️ Reproduces with only pin-fixer active.
Have a world with two scenes.
One scene has pins and fog exploration enabled.
Place a token with vision down.
Give this scene both of these options:
Expected: Pins should be visible above fog.
Actual: Pins are not visible above fog after step 3.
Only happens for Player Accounts, similar to #5, probably related.
If the player selects the Pins Tool, all pins become visible.
When the scene config renders and HTML is injected, the values set in the form are based on the value in the currently active scene, rather than being the values stored in the scene currently being edited.
Would be great to be able to configure this distance, as with smaller textsizes, the text is quite far away from the Journal Note Icon.
As a player the pin is hidden when panning or zooming on the canvas. That problem does not happens as a GM.
Module version: 1.2.2
Foundry version: V10
Whenever you have a map note which is not linked to any journal entry (for example, the entry was deleted, or the map pin is a copy of another similar pin), it becomes invisible and can not be accessed.
The vanilla behaviour for such pins is to make them visible for everyone (see foundry.js@42651: Note.refresh()).
When the module is enabled, it's not possible to change or create a new scene, since the "save" button loses its function. You can click it once, nothing will happen. after that there's nothing you can do except close the window and deactivate the module to start anew.
This is super useful for image-fog
use case:
Setting canvas.notes.zIndex = 300
will pull the notes layer above all currently known fog layers.
Running Token Magic FX and Pin Fix at the same time causes journal entries on map to be unable be dragged.
For players, pins vanish of map is zoomed in or out. They re-appear when the player token is moved.
Chrome (forge)
Foundry v10
Pin Fixer 1.2.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.