The `pub Math` DSL registration in math_widget shadows the shader
built-in `Math` namespace (defined in draw/src/shader/std.rs), which
provides `Math::random_2d` and `Math::rotate_2d`. This causes runtime
shader compilation errors in every widget that uses `Math::random_2d`
for color dithering (Slider, Button, Label, CheckBox, Icon, TextInput,
Tab, LinkLabel, PopupMenu, DropDown, RadioButton, View).
Rename the widget DSL name from `Math` to `MathView`, consistent with
Makepad naming conventions (CodeView, CircleView, RoundedView, etc.).
The Rust struct remains `Math` — only the DSL registration name changes.
Downstream users need to update:
`inline_math = <Math> {}` → `inline_math = <MathView> {}`
`display_math = <Math> {}` → `display_math = <MathView> {}`
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This bit of info was already tracked, but it wasn't exposed by the
`FingerMoveEvent` struct.
Doing so will allow widgets to differentiate between a gesture like
long-press then drag (for drag-n-drop) vs. just a regular drag
(for something like finger-based scrolling).
This is useful in TextInput, Dock, and any view that may respond
differently to a drag vs a "select then drag".