tomatenquark / code

The code that powers Tomatenquark
https://tomatenquark.github.io/
Other
34 stars 5 forks source link

Allow floating-point values for `crosshairsize` #32

Closed Calinou closed 4 years ago

Calinou commented 4 years ago

This makes finer size adjustments possible.

Fohlen commented 4 years ago

Does this really make sense if guislider can't handle it?

Calinou commented 4 years ago

I don't use the crosshair menu to adjust the size, so I never noticed it, sorry. Maybe we can change it into a text field like the mouse sensitivity?

Fohlen commented 4 years ago

Another way of doing it could be:

Does that sound probable?

Calinou commented 4 years ago

@Fohlen Sounds good to me :slightly_smiling_face:

Fohlen commented 4 years ago

If @SalatielSauer gives his go I will merge this. Best is to create a follow-up PR (or ticket) in the essential repository to make the necessary changes.

SalatielSauer commented 4 years ago

Another way of doing it could be:

  • bind the guislider to a temporary variable
  • on focus leave set the mouse sensitivity to that temporary variable (which is an integer)
  • more advanced users can then still use the command line to tweak things further

Does that sound probable?

@Fohlen you meant crosshairsize, right? done here 9c52898, it should be ok to merge now