[x] But then the void-click "nothing there..." warning is premature! Fix that then.
Also, for hopefully better ergonomics:
[x] Void-click while scroll-locked should pan-to-focus the last (currently) followed object, not (always) the player! (Same if not following anything: keep it that way...)
To still get the player back in focus, there's always Home, but that also re-centers, so...:
[x] Pan-to-focus to the player on void-clicks when holding Shift (regardless of follow mode (Scroll Lock))!
[x] And then probably Home should also do the same thing with Shift: center the player only if pressed, or the currently followed thing (if any) if not!
[x] Except, if nothing is being followed, then Home should fall back to the player.
[x] Ctrl + Home should not also reset the last focused object.
Yeah, nice, and all that, but now a void click would just still keep focusing on the last focused object (only repositioning the view for it) -- so, how to then REMOVE the focus from it?!... :)
[x] OK, so maybe those barefoot clicks on nothing should indeed remove the focus, and e.g. Ctrl + click should reposition the view?
-> No need for Ctrl! Luckily, the existing Shift+Click combo is just fine: if nothing is active, it would select the player! Just like Home! (And also Shift+Home, incidentally...)
[ ] The only thing missing is setting the focus point somewhere else than an object, while not losing the object selection, and not selecting the player by default. Now that could be done with Ctrl+Click then, perhaps. IOW, it does the same as a bare Click, without resetting focused_entity_ndx!
-> Interestingly, it could have the same problem as Ctrl+Home preserving the followed object (which it doesn't do currently): view-confinement would interfere with the positioning if the object was desperately trying to escape the screen! :)
Also, it doesn't seem to be supported anyway... The focus point seems to follow the selected object if the scroll isn't locked on it!
Only when Scroll Lock is on... That's reasonable.
Also, for hopefully better ergonomics:
[x] Void-click while scroll-locked should pan-to-focus the last (currently) followed object, not (always) the player! (Same if not following anything: keep it that way...) To still get the player back in focus, there's always Home, but that also re-centers, so...:
[x] And then probably
Home
should also do the same thing with Shift: center the player only if pressed, or the currently followed thing (if any) if not![x] Ctrl + Home should not also reset the last focused object.
Yeah, nice, and all that, but now a void click would just still keep focusing on the last focused object (only repositioning the view for it) -- so, how to then REMOVE the focus from it?!... :)
[ ] The only thing missing is setting the focus point somewhere else than an object, while not losing the object selection, and not selecting the player by default. Now that could be done with Ctrl+Click then, perhaps. IOW, it does the same as a bare Click, without resetting
focused_entity_ndx
! -> Interestingly, it could have the same problem as Ctrl+Home preserving the followed object (which it doesn't do currently): view-confinement would interfere with the positioning if the object was desperately trying to escape the screen! :)