Skip to content

Commit

Permalink
Developer documentation pipeline deployment fix (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebenR authored Jan 24, 2025
1 parent dbbc90c commit cf83edc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/examples/cookbook/drag-and-drop.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ local function TodoEntry(

[OnEvent "MouseButton1Down"] = props.OnMouseDown

-- Don't detect mouse up here, because in some rare cases, the event
-- could be missed due to lag between the item's position and the
-- cursor position.
--[[ Don't detect mouse up here, because in some rare cases,
the event could be missed due to lag between the item's
position and the cursor position.]]
}
}
end
Expand Down Expand Up @@ -508,9 +508,9 @@ respond to mouse-up, even if the mouse happens to briefly leave this element.
```Lua
[OnEvent "MouseButton1Down"] = props.OnMouseDown

-- Don't detect mouse up here, because in some rare cases, the event
-- could be missed due to lag between the item's position and the
-- cursor position.
--[[ Don't detect mouse up here, because in some rare cases,
the event could be missed due to lag between the item's
position and the cursor position.]]
```

The example creates a list of `TodoItem` objects, each with a unique ID, text
Expand Down

0 comments on commit cf83edc

Please sign in to comment.