Jump to content

[SOLVED] Hide Tracy hides Tracy completely


AndZyk
 Share

Recommended Posts

Hello @adrian,

today I setup a fresh PW install with ProcessWire 3.0.245 and of course Tracy Debugger 4.26.60.

Now I don't like to have always the full Tracy bar expanded when I do simple stuff, so I hide the Tracy bar with the "Hide Tracy" button in the right corner.

image.jpeg.18a0dba6e51018c246682bf6c560942a.jpeg

Today when I use the "Hide Tracy" button the Tracy bar gets collapsed as expected, but when I reload the page it is completely hidden. It seems that the #tracy-show-button has "display: none" as styling.

It seems to be a console error in this line:

document.getElementById("tracy-show-button").style.display = "block";

Uncaught TypeError: Cannot read properties of null (reading 'style')
    at hideDebugBar ((Index):204:240)

Can somebody reproduce this?

Regards, Andreas

Edited by AndZyk
More information
  • Like 1
Link to comment
Share on other sites

Hi @AndZyk - sorry about that - not really sure what changed to cause it, but I've implemented a fix. I also moved that show icon up and left just a bit because I always found it was so close to that bottom corner that my mouse pointer (on MacOS) would be triggered by the resize window event on the browser - this should alleviate that.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • AndZyk changed the title to [SOLVED] Hide Tracy hides Tracy completely

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...