ccjmk overlay

but for what I wanted I think I needed to append it there so that I can overlay the whole screen
UU
Unknown User817d ago
C
ccjmk817d ago
will give this a try after work! 🙂 now that you mention it, and pondering it in my mind a little, an app is rendered directly under the body anyway right ? so if I set it to w: 100% h: 100% it should cover the whole screen
UU
Unknown User817d ago
C
ccjmk817d ago
hmm yeah I think im safe. Im basically putting a div that opaques the whole screen with a little div in the middle for input; click anywhere and it will hide the whole thing, so its not a big deal probably
UU
Unknown User817d ago
C
ccjmk817d ago
yup, basically this!
No description
C
ccjmk817d ago
weird aspect ratio 😛 but its because i have the console open aha I noticed a nice side effect and a bad side effect of turning this into an Application. It fades in (sexy), but scrolls up (horrible xD) any easy way to opt out of that, I don't see anything on the constructor options, I guess it's just overwriting that CSS ?
C
ccjmk817d ago
C
ccjmk817d ago
oh its barely noticeable on the video, damn 15 fps hahah
UU
Unknown User817d ago
C
ccjmk817d ago
I am actually.. well, now at least! Before this was an Application, I had a big render()function that created the div added the event listeners, then used some show/hide() auxiliary functions to toggle it on and off. I moved the template to the construction options, all the event listeners to activateListeners() and kept the hide function, replaced my previous calls to show for render maybe I could keep my show/hide functions and insta-hide it as I render 🤔
UU
Unknown User817d ago
C
ccjmk816d ago
oh that makes sense
Want results from more Discord servers?
Add your server
More Posts
cliits very very early alpha demoMonarch APIAlright, adventurous ones: I have a Beta version of Monarch with the new components API! Manifest: compacted chat cardsModules create problems to solve problems... Today's problem: "When I roll an attack, it eats the whdragdrop shenneneginsRight now, a user can drag a spell onto their character sheet. I store that in a 'spell' array and leffect mini modulesI've gotten to the point where I'm confident in releasing a slurry of tiny no-config Active Effect rdamage application hooksNew 5e Hook ideas, gimme yer thoughts: `Hooks.call('Actor5e.preDamageApplied')` args: `damageAmounthook conventionsRegarding hooks, is the convention that _all_ `pre...` hooks are executed on the machine that initiaexpand arraysIs there a way to `expandObject` except for an Array?edit-owned-item-effectI've made an abomination. This hacks its way past the limitations surrounding editing effects on ownItem Pile feedbackSimple is king!effects to chat@badideasbureau is the `temporary` flag you look for in Effects to Chat a convention from somewhere 5e AEsI've been messing pretty heavily with some Active Effect assumptions and mechanisms in 5e. This is mhero creator ui feedbackI'm trying to refactor the abilities' tab on the hero creation room to accomodate Race ASIs, but I deffect mechanic searchingI need someone to check me on a null hypothesis I'm making. > There are no abilities in 5e RAW whicDialog shennaneginsTIL the button callbacks for `Dialog.prompt` and `Dialog.confirm` can be asynchronous. ```js const Advancement Hooks@kandashi @ccjmk and anyone else who is currently working on modules that would interact with the AdAPI doc topicsGive me some ideas for what areas of the foundry core API would benefit from a wiki documentation paDiscord Permission IssueOh, I think you also need a Typescript roleDevelopment-APIA new section of the Wiki was created today: `development/api` This section is dedicated to documentitem to actors scriptI have this macro for updating actors in a compendium with spells from a compendium of spells (i.e.