Skip to content

dddice integration POC 1#353

Open
CelesteBloodreign wants to merge 1 commit into
ThaumRystra:developfrom
CelesteBloodreign:dddice-integration
Open

dddice integration POC 1#353
CelesteBloodreign wants to merge 1 commit into
ThaumRystra:developfrom
CelesteBloodreign:dddice-integration

Conversation

@CelesteBloodreign

Copy link
Copy Markdown

No description provided.

@CLAassistant

CLAassistant commented Jun 19, 2024

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

// hide the source and reveal the hidden element
let originalSourceTransition = source.style.transition;
if (hiddenElement !== source){
if (hiddenElement && hiddenElement !== source){

Copy link
Copy Markdown
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

},
},
mounted() {
setUpDddiceSdk();

Copy link
Copy Markdown
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