Giter Site home page Giter Site logo

Comments (3)

anko avatar anko commented on May 24, 2024

If I launch the command from the 2nd of two monitors it'll take the overall width of the combined displays and initiate the HUD on the second monitor.

I don't have a second monitor for a few more weeks because life 🌈, so my ability to help is a little limited.

Either way, these details would help:

  • Clarifying: This only happens when you start hudkit from the second monitor?
  • Do you have a screenshot?
  • What desktop environment or WM are you using?
  • When you run the example in a terminal, what output do you get? Do the monitor positions and sizes it reports look right there?

feature request) add the ability to only display HUD on default monitor when multiple are present via a command line flag

Good idea!

bug report) HUD incorrectly estimates size and position when not initialized from the first of a multiple display setup.

This refers to the same problem as the first paragraph, right?

from hudkit.

anko avatar anko commented on May 24, 2024

Finally got around to looking at this with my brain turned on.

Excuses excuses: On a previous machine I couldn't repro this at all, and Hudkit would always get its window positioned at absolute 0,0. On my current machine, it would position at the top-left of the window it was started from which is wrong (as you observed). 🤷

from hudkit.

anko avatar anko commented on May 24, 2024

Oh right, there was also a feature request.

add the ability to only display HUD on default monitor when multiple are present via a command line flag

Nah. Too complicated. You can instead hide or show stuff in your web page's context, by reading the Hudkit.monitors variable from JavaScript and positioning your HUDs there, then hiding or showing what's on the appropriate monitors.

from hudkit.

Related Issues (15)

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.