Skip to content
Snippets Groups Projects
Commit ff7e9139 authored by Albert Gräf's avatar Albert Gräf
Browse files

Fix some remaining issues with the touch interface.

- Disable touch-scrolling in situations where it interferes with other
  actions, like operating a slider, or dragging objects or the selection
  rectangle in edit mode.

- Truncate fractional touch coordinates which were causing glitches in the
  FUDI interface.

- Make dragging of iemgui labels and scalar draggables work (kind of).

TODO: Dragging (specifically in edit mode) can be a bit tricky in cases where
it's difficult to hit the right spot to initiate the drag action. This
*might* be solvable by making the algorithm identifying these spots a bit more
lenient, and accept touches which are a bit off.

Also, despite my best efforts, dragging iemgui label handles in edit mode
still needs quite some faffing about when using touch: After clicking the
iemgui object to make the handle appear, you first need to drag the handle a
little (horizontally, vertically, or diagonally) to make the corresponding
drag cursor appear, then release and touch the drag cursor *again* to drag the
handle to its final destination (and the label along with it). It goes without
saying that this seems overly complicated, but there doesn't seem to be an
easy way to work around this in the GUI, as the whole process goes back and
forth between GUI and engine in several steps in the current implementation.
parent be548496
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment