#TGCE Restyler troubleshooting
1 messages · Page 1 of 1 (latest)
@fluid galleon adding for visibility
TCGE Restyler troubleshooting
TGCE Restyler troubleshooting
thanks again.
aye, ta
Okay so, i put it in and it gave me this
Uncaught TypeError: Cannot read properties of null (reading 'includes') at <anonymous>:1:53 at Array.find (<anonymous>) at <anonymous>:1:34
Not sure waht that means, this goes beyond my knowledge now
ok. now try just..
document.styleSheets
and paste a screenshot of the output
can you pop out the dev tools or drag it wider. Looking to see all the names of the stylesheets
looking for this
Array.from(document.styleSheets).find((e) => e.href?.includes("tgce-restyler-5e3-nav.css"));
corrected, it was being tripped up by null href attribute styles
(though, i think the evidence you were looking for is there, just fyi)
yeah, the new version has that '?' in many new places i was tripping myself up on.
so @fluid galleon , for now, try this...
document.styleSheets[7].disabled = true;
ok, thats a temp fix. You'll have to do that everytime you refresh the browser/reload the app
i can manage that
new version has this handled a lot better. I'm close to release, possibly this weekend, but I want to make sure its really tight so am not rushing it.
your players will need to do it too if they want the buttons moved back.
no worries, i dont have a game till thursday anyway and I can just fire that into the console it will take me seconds, nae hassle
thanks for your help
appreciate it greatly
also, if you enable any other mods that add stylesheets, you may need to run the document.styleSheets command again to get the proper number of the sheet.
i only have your one enabled but that is good to know
aditional stylesheet adds could change the ordering and the tgce-restyler-5e3-nav.css position in the list
Array.from(document.styleSheets).find((e) => e.href?.includes("tgce-restyler-5e3-nav.css")).disabled = true;
i think that will disable it regardless of position
Hello ! first of all, a big thanks for all your work, we having a great time with my players customizing their character sheets !!
I have a question, since the last update, the icons (inventory, spells etc.) are moved back to the right, I can't find a way to put them back up, even though I selected the option in the parameters. I tried unchecking every other modules one by one.
Is this feature not there anymore, or am I missing something ?
It just a detail, I ll have a lot of fun with your module as it is anyway !
@plucky vessel Are you talking about the navigaion tabs that hang on the right side of the character sheet?
If you mean these, and I think you do, then yes. That has been removed from the module.
The CSS to move those tabs and the CSS to alter many of the header elements tend to step on each other as the mod has gotten more complex. I have been able to get it to 'work', but its not as clean or reliable as I want it to be to include it in current releases.
Will likely be back in a future update. I am still toying with it in my dev environment.
exactly the navigation tab 🙂
ok great to know I thought I was missing it somewhere !
Ho I totally understand, you were right to do so
thanks again