Coder Social home page Coder Social logo

Comments (5)

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024 1

That is the largest grid header I have ever seen.

from sd-infinity-grid-generator-script.

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024 1

Done, works great in testing!

from sd-infinity-grid-generator-script.

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024

There's already keyboard movements built in, they just weren't updating properly it seems unless you hit 'Enter' - with the commit above, it now updates the grid as you go.

I think I can do better than that though.

from sd-infinity-grid-generator-script.

mcmonkey4eva avatar mcmonkey4eva commented on August 17, 2024

And indeed I can :D

On the new build up/down move between axes, left/right move between values.
You'll have to click any of the tabs first to have it focused to use arrow keys.
There's a yellow highlight on the focused tab to make it easier to tell on Chromium browsers (Firefox has its own focus highlight built in)

It also automatically compensates for hidden values and things like that.

If auto-cycle overwrites your selection it will lose focus and you'll have to click back in.

from sd-infinity-grid-generator-script.

kuso-ge avatar kuso-ge commented on August 17, 2024

@mcmonkey4eva Hi, it's me again. Anyway to have this feature without having the focus scrolling on the input tabs and stay on the grid of images?

Right now, every time I navigate the tabs to change the previewed images, it always scrolls back to the tabs.
Untitled video - Made with Clipchamp

something like:

#psuedo code
element.focus({
  preventScroll: true
});

from sd-infinity-grid-generator-script.

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.