Git Product home page Git Product logo

Comments (9)

dbordak avatar dbordak commented on August 15, 2024

This is technically working as intended -- telephone-line-height is working fine, but the default width of all separators is 1/2 their height. I do agree, however, that this shouldn't be the case for nil.

from telephone-line.

dbordak avatar dbordak commented on August 15, 2024

Turns out this was actually a different issue -- nil had a division by zero (the zero being the range of values).

Latest commit makes the nil separator a subclass which bypasses the rendering code to just return nil. Let me know if this works better.

from telephone-line.

ogdenwebb avatar ogdenwebb commented on August 15, 2024

@dbordak, nope, all the same. Damn, forget that isn't the recent update from MELPA.

UPD: By the way, the most latest git version doesn't fix this behavior.

from telephone-line.

dbordak avatar dbordak commented on August 15, 2024

Oh, just realized what the issue actually is...

So, telephone-line-height only changes the height of the separator images -- no other way to influence mode-line height. If I'm not rendering any images, there's no way to control the height of the mode-line.

from telephone-line.

dbordak avatar dbordak commented on August 15, 2024

Ok, latest commit finally fixes this. Test it out and let me know for sure.

from telephone-line.

dbordak avatar dbordak commented on August 15, 2024

I might rename this separator in the future since it's no longer a noop (if I do, I'll include the old nil separator under this name). I guess telephone-line-flat?

from telephone-line.

ogdenwebb avatar ogdenwebb commented on August 15, 2024

The 6789e79 fixes the issue, works as excepted. Thanks. Now the issue can be closed.

I might rename this separator in the future since it's no longer a noop (if I do, I'll include the old nil separator under this name). I guess telephone-line-flat?

Yes, telephone-line-nil is not obvious for me, so that's a good idea to rename it. telephone-line-flat is fine.

Also would be nice if you add info about this separator to README.md.

from telephone-line.

dbordak avatar dbordak commented on August 15, 2024

Yeah, I'm going to do the rename and update the README. Only reason it wasn't already there is because... well, there's nothing to look at (the separators shown there are all taken directly from telephone-line -- they're the internal XPMs converted to PNGs, not screenshots).

from telephone-line.

dbordak avatar dbordak commented on August 15, 2024

Alright, it's been renamed.

from telephone-line.

Related Issues (20)

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.