Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dddice integration POC 1 #353

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

CelesteBloodreign
Copy link

No description provided.

@CLAassistant
Copy link

CLAassistant commented Jun 19, 2024

CLA assistant check
All committers have signed the CLA.

@@ -197,7 +197,7 @@
// If the source and the hidden Element are different
// hide the source and reveal the hidden element
let originalSourceTransition = source.style.transition;
if (hiddenElement !== source){
if (hiddenElement && hiddenElement !== source){
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this because after a roll I got a hiddenElement undefined error which prevented the action buttons from resetting after the roll

@@ -186,6 +187,7 @@ export default {
},
},
mounted() {
setUpDddiceSdk();
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This call sets up the dddice sdk, inserts the canvas, and creates a connection to the dddice servers.

There is probably a way better place to call this from, I'm just not sure where is the correct place. For the sake of the POC i thought this was good enough.

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.

2 participants