small but very inconvenient Cursor misalignment
small but very inconvenient Cursor misalignment
for some odd reason, Factorio doesn't use the "tip" or left side of the Cursor to tell where you are clicking. Instead it uses the Middle of the Cursor.
How the "Hitbox" of the cursor should be:
How it is in Factorio:
which as you can see makes working with any kind of naming or number writting very annoying as you unintentionally click 1 digit off to the right.
it's a very minor but very annoying thing.
Re: small but very inconvenient Cursor misalignment
I don't think it's the cursor that is misaligned, but that the hitbox area to place the caret is calculated using the whole glyph instead of your expected behaviour where the hitbox uses half of the adjacent glyphs.
It's the difference between clicking at the character vs clicking at the space.
It's the difference between clicking at the character vs clicking at the space.
Re: small but very inconvenient Cursor misalignment
Correct. I noticed it a year ago but never got around to fixing it.BenSeidel wrote:I don't think it's the cursor that is misaligned, but that the hitbox area to place the caret is calculated using the whole glyph instead of your expected behaviour where the hitbox uses half of the adjacent glyphs.
It's the difference between clicking at the character vs clicking at the space.
If you want to get ahold of me I'm almost always on Discord.
Re: small but very inconvenient Cursor misalignment
Actually I fixed it about half a year ago, then somebody refactored the textboxes and re-fixed it and now it is still wrong. It is not about the cursor itself, but about calculating which letter is under it.
Re: small but very inconvenient Cursor misalignment
i see, and i hope it is minor enough to just be fixed whenever possible?