Skip to content

Commit cf83edc

Browse files
authored
Developer documentation pipeline deployment fix (#408)
1 parent dbbc90c commit cf83edc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/examples/cookbook/drag-and-drop.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ local function TodoEntry(
178178

179179
[OnEvent "MouseButton1Down"] = props.OnMouseDown
180180

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

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

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

0 commit comments

Comments
 (0)