mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-07 02:51:50 +00:00
chore: kill comments
This commit is contained in:
parent
3030a9fcf9
commit
52f8d5831f
1 changed files with 0 additions and 7 deletions
|
|
@ -616,13 +616,6 @@ export function handleMouseEvent(app: App, m: ParsedMouse): void {
|
||||||
if (baseButton !== 0) {
|
if (baseButton !== 0) {
|
||||||
// Non-left press breaks the multi-click chain.
|
// Non-left press breaks the multi-click chain.
|
||||||
app.clickCount = 0
|
app.clickCount = 0
|
||||||
|
|
||||||
// Forward middle/right button presses to the DOM so components can
|
|
||||||
// react (e.g. right-click-to-paste on input fields). Middle/right
|
|
||||||
// don't participate in selection, multi-click, or hyperlink UX, so
|
|
||||||
// we just dispatch and exit without setting mouseCaptureTarget —
|
|
||||||
// the matching release (if any) falls through the release path and
|
|
||||||
// is ignored there because baseButton !== 0 && !sel.isDragging.
|
|
||||||
app.props.onMouseDownAt(col, row, baseButton)
|
app.props.onMouseDownAt(col, row, baseButton)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue