Page 1 of 1
small but very inconvenient Cursor misalignment
Posted: Sat Jun 30, 2018 8:21 pm
by Proxy
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
Posted: Sun Jul 01, 2018 1:33 am
by BenSeidel
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.
Re: small but very inconvenient Cursor misalignment
Posted: Sun Jul 01, 2018 2:36 am
by Rseding91
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.
Correct. I noticed it a year ago but never got around to fixing it.
Re: small but very inconvenient Cursor misalignment
Posted: Sun Jul 01, 2018 7:50 am
by Dominik
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
Posted: Sun Jul 01, 2018 8:24 am
by Proxy
i see, and i hope it is minor enough to just be fixed whenever possible?