schultzcole / fvtt-backgroundless-pins Goto Github PK
View Code? Open in Web Editor NEWRemoves the background box from map notes
License: GNU General Public License v3.0
Removes the background box from map notes
License: GNU General Public License v3.0
Console gives me this error, buried far up, so it happens pretty early on. I have no idea what caused it to stop working. It works fine in other worlds, just not this one.
Sprite.js:657 Uncaught (in promise) TypeError: Cannot read property 'valid' of undefined
at r.i.texture.set (Sprite.js:657)
at BackgroundlessControlIcon.draw (backgroundless-pins.js:44)
at new ControlIcon (foundry.js:30565)
at new BackgroundlessControlIcon (backgroundless-pins.js:30)
at Note._drawControlIcon (backgroundless-pins.js:10)
at Note.draw (foundry.js:36177)
at FXMasterLayer.createObject (foundry.js:12760)
at foundry.js:12742
at Array.map (<anonymous>)
at FXMasterLayer.draw (foundry.js:12741)
Hi! Lovely mod, but I keep turning it on and off all the time because of one issue.
It's all or nothing. No background on any pins, or background on all pins.
Depending on the type of map note, I might sometimes want the background, and sometimes I do not want the background, so it would be amazing if this module, instead of just turning them off for all map notes, also allow us to toggle it back on, per map note.
This would be incredibly handy since I often use the icons from that game-icons site, and they often look best with their white color, transparent background, on top of the default semi-transparent foundry map note background.
While some other stuff, like if I'm dropping an item, a letter, or marking a city (like in your gif preview), then it looks better with the default background off.
So yeah, would be nice to be able to choose per pin instead of all or nothing. :)
Cheers!
In the preview you supply, I don't see the "Entry Icon" Foundry forces you to choose. How do we hide the icons as well as the pin background as you've shown?
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.