Vertically center and scale whiteboard/paper after displaying

This commit is contained in:
perroned 2015-10-16 09:10:24 -07:00
parent 60d7e45607
commit c57065348e

View File

@ -94,6 +94,8 @@ Template.webcamModal.events
if display is "whiteboard"
$("#webcam").css("display", "none")
$("#whiteboard-container").css("display", "block")
$("#whiteboard-paper").addClass("vertically-centered")
scaleWhiteboard()
else if display is "video"
$("#whiteboard-container").css("display", "none")
$("#webcam").css("display", "block")