Skip to content

Test3laser#251

Merged
hiroshisuga merged 63 commits into
dev3027allfrom
test3laser
May 15, 2026
Merged

Test3laser#251
hiroshisuga merged 63 commits into
dev3027allfrom
test3laser

Conversation

@hiroshisuga

Copy link
Copy Markdown
Owner

What does this PR do?

Closes Issue(s)

Closes #

Motivation

How to test

More

  • Added/updated documentation

To adopt this PR to popup again, you need:
- to change -> "const targetDoc = popupWindow?.document || document;" (at two places whare "const targetDoc = document"; is writted)
- to add-> "popupWindow" at the ends of two React.useEffect()s which defines "const targetDoc" (same functions above)
More simple implementation, although the values are slightly different from the values taken from the 'translate' value of the finally rendered HTML.
With this change, the viewer's laser will be created every time as the page changes. Is there any better implementation???
Draw menu under the React architecture, not by directly drawing DOM.
Draw menu under the React architecture, not by directly drawing DOM.

Here, moving styles to styles.js
cursorEl is not necessary more.
It is included in ...coordinates.
1) Showing laser pointer when the presenter uses mobile devices, which did not show anything previously. But the laser pointer does not respond very quickly because here the clients's information is recruited, not directly reflecting the presenter's touch.
2) Now the presenter can show the pull down menu to select laser.
- Store the cursor position 
- Show Laser as a React element using the stored cursor position
- Change the class name to avoid being removed by removeViewerLaser().
@hiroshisuga hiroshisuga merged commit b3fc3cd into dev3027all May 15, 2026
19 of 21 checks passed
@hiroshisuga hiroshisuga deleted the test3laser branch May 15, 2026 13:18
@github-actions

Copy link
Copy Markdown

🚨 Automated tests failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant