Giter Site home page Giter Site logo

Comments (9)

TEParsons avatar TEParsons commented on July 30, 2024

The actual window itself? Typora themes are just a CSS stylesheet, so it's strange that it should affect the window... What happens when you try to drag it? Does it just not respond, or do bits stay in place?

from krafty.

 avatar commented on July 30, 2024

When I change the Typora theme from Github or others to Krafty, the window becomes stationary. So I couldn't drag it as much as I wanted.

from krafty.

TEParsons avatar TEParsons commented on July 30, 2024

Does the window then become moveable again when you switch back to Github?

from krafty.

 avatar commented on July 30, 2024

Yes, it does.

from krafty.

TEParsons avatar TEParsons commented on July 30, 2024

What operating system and version of Typora are you using? I'll need to recreate this error before I can fix it - and I can move the window around with no trouble on my (Windows 10, Typora 1.1.5) setup

from krafty.

 avatar commented on July 30, 2024

Typora 1.1.5 for Windows 10, too.
And here is a GIF to show the phenomenon.
GIF 2022-3-12 13-15-11

from krafty.

TEParsons avatar TEParsons commented on July 30, 2024

Ah I see, you've got appearance set to unibody - that's why I couldn't recreate the error, I have mine in Classic. If I set mine to unibody it does that too, so now I can replicate the error I can figure out what's causing it

from krafty.

 avatar commented on July 30, 2024

Nice! Thanks for your time.

from krafty.

TEParsons avatar TEParsons commented on July 30, 2024

Found the bug! Essentially, to make the background stick in place, I set its position to fixed and its top position to 0 - in Unibody mode, the window bar is actually a part of the HTML of the page, so when I set top to 0 it positions the background over the hitbox for the window bar.

I'll actually raise this as an issue on the Typora GitHub too, as I bet there's a way to ensure that the context of the content object is fully independent of the window itself, to avoid novices like me accidentally breaking the window :P

from krafty.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.