jessev14 / alphacontrol Goto Github PK
View Code? Open in Web Editor NEWAlpha Control module for FVTT.
License: MIT License
Alpha Control module for FVTT.
License: MIT License
Would it be possible to add adjustment for alpha value for hidden drawings and text?
Have used alpha control for a while and it is very useful thank you.
Tried to start using "Hey, Wait!" module, but if alpha control is enabled, I get errors when trying to place a Hey Wait tile. If alpha control is disabled, it works without an error.
alphaControl.js:41 Uncaught (in promise) TypeError: Cannot set property 'alpha' of undefined
[Detected 1 package: alphaControl]
at Tile.CONFIG.Tile.objectClass.refresh (alphaControl.js:41)
at Tile.draw (foundry.js:43988)
at Function.createPreview (foundry.js:44599)
at BackgroundLayer._onDragLeftStart (foundry.js:38820)
CONFIG.Tile.objectClass.refresh @ alphaControl.js:41
draw @ foundry.js:43988
createPreview @ foundry.js:44599
_onDragLeftStart @ foundry.js:38820
Promise.then (async)
createPreview @ foundry.js:44599
_onDragLeftStart @ foundry.js:38820
async function (async)
_onDragLeftStart @ foundry.js:38819
_onDragLeftStart @ foundry.js:18188
🎁call_wrapped @ libWrapper-wrapper.js:466
_onDragLeftStart_Override @ alternative-rotation.js:196
🎁call_wrapper @ libWrapper-wrapper.js:575
🎁Canvas.prototype._onDragLeftStart#0 @ libWrapper-wrapper.js:163
callback @ foundry.js:35929
_handleDragStart @ foundry.js:36246
🎁call_wrapped @ libWrapper-wrapper.js:466
_handleDragStart_Override @ alternative-rotation.js:152
🎁call_wrapper @ libWrapper-wrapper.js:575
🎁MouseInteractionManager.prototype._handleDragStart#0 @ libWrapper-wrapper.js:163
_handleMouseMove @ foundry.js:36228
a.emit @ index.js:202
r.dispatchEvent @ interaction.min.js:8
r.processPointerMove @ interaction.min.js:8
t.recursiveFindHit @ interaction.min.js:8
t.findHit @ interaction.min.js:8
r.processInteractive @ interaction.min.js:8
r.onPointerMove @ interaction.min.js:8
2libWrapper-wrapper.js:628 Uncaught TypeError: Cannot set property 'alpha' of undefined
[Detected 3 packages: alphaControl, lib-wrapper, alternative-rotation]
at Tile.CONFIG.Tile.objectClass.refresh (alphaControl.js:41)
at BackgroundLayer._onDragLeftMove (foundry.js:38845)
at Canvas._onDragLeftMove (foundry.js:18214)
at MouseInteractionManager.callback (foundry.js:35929)
at MouseInteractionManager._handleDragMove (foundry.js:36259)
at X.🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:466)
at MouseInteractionManager._handleDragMove_Override (alternative-rotation.js:225)
at X.🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:575)
at MouseInteractionManager.🎁MouseInteractionManager.prototype._handleDragMove#0 (libWrapper-wrapper.js:163)
at MouseInteractionManager._handleMouseMove (foundry.js:36233)
at e.a.emit (index.js:202)
at r.dispatchEvent (interaction.min.js:8)
at r.processPointerMove (interaction.min.js:8)
at t.recursiveFindHit (interaction.min.js:8)
at t.findHit (interaction.min.js:8)
at r.processInteractive (interaction.min.js:8)
at r.onPointerMove (interaction.min.js:8)
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.