mcmonkeyprojects / sd-infinity-grid-generator-script

Infinite-Axis Grid Generator for Stable Diffusion!
MIT License
181 stars 25 forks source link

Sticky Labels toggle has issues toggling #100

Closed skfoo closed 1 year ago

skfoo commented 1 year ago

In the HTML, the <label> tag for 'Sticky labels' has for="stickyNavigation", so clicking the text 'sticky labels' makes it toggle the checkbox for Sticky Navigation instead. You have to directly click the checkbox for sticky labels to change it. It should be for="stickyLabels".

Also, proc.js has document.getElementById('stickyLabels').checked = rawData.defaults.sticky_labels, but gridgencore's WebDataBuilder's build_json method doesn't write sticky_labels to the JSON file.

mcmonkey4eva commented 1 year ago

oop, that was already fixed in the swarm version, just haven't cross-ported over yet

mcmonkey4eva commented 1 year ago

synced to swarm version https://github.com/mcmonkeyprojects/sd-infinity-grid-generator-script/commit/966662cc035c69c0272bbd860c5562c59583e2a4