-
Notifications
You must be signed in to change notification settings - Fork 100
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
base: develop
Are you sure you want to change the base?
dddice integration POC 1 #353
Conversation
@@ -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){ |
There was a problem hiding this comment.
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
53a930f
to
68c014e
Compare
@@ -186,6 +187,7 @@ export default { | |||
}, | |||
}, | |||
mounted() { | |||
setUpDddiceSdk(); |
There was a problem hiding this comment.
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.
No description provided.