crosscode-map-editor icon indicating copy to clipboard operation
crosscode-map-editor copied to clipboard

Numeric selector "snapping" to values makes it very difficult to enter in some values manually

Open elluminance opened this issue 2 years ago • 0 comments

Some things use locked values when it comes to numeric inputs - for example, most scalable props' size must be a multiple of , and the editor does respect that - if you press the up arrow on a relevant box, it'll go to the next multiple of that value.

However, this makes it very difficult to actually enter in some values as it applies the "snap" after you enter in any value. For example, if I were to use the prop arid-interior/fenceH which has an x-size snap of 16. And if I manually try to set the size of it to, say, 32 - it applies the snap after I enter each number, making it not be set to 32, but first to 16 when you type in 3, then to 160 when you type in the 2. While it is possible to copy/paste the 32 from elsewhere, this just adds a frankly unnecessary and inconvenient way to enter the value of "32" (or any other value). It'd be nice if it was somehow possible to allow numeric entry, then apply the value-snapping once you're done entering in the value.

elluminance avatar Aug 16 '23 15:08 elluminance