zombieFox / awesomeSheet

Online Pathfinder Character Sheet

Home Page:https://zombiefox.github.io/awesomeSheet/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Print Mode Font Colour

DigiBear opened this issue · comments

Hey, just a quick little bug I found.

When trying to print the page out the base font colour is retained. this means that when printing while in dark mode you'll have light gray text on a white background. Nothing bad or anything but thought I'd let you know!

That is an interesting scenario, I wouldn't call a problem as there is a way to work around this issue by switching to Display Mode before printing. That being said I wanted to explore the idea of detecting the print event and invoking a function. I've investigated and refactored the Minimise, Display Mode and Night Mode modules.

New functionality which will be released in a short while (I'm testing it now):

On print:

  • Force Display Mode on
  • Force Night Mode off
  • Force Minimise mode off

After print:

  • Restore previous Display Mode state
  • Restore previous Night Mode state
  • Restore previous Minimise Mode state

This ties in well with some other work I was doing involving preserving the active Tab state which will also roll out with this update.

Feature is now live.