[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730776#comment-13730776
 ] 

Andrey Bogdanov commented on OPENMEETINGS-731:
----------------------------------------------

1. getViewport can't work before rendering, because it depends on parent 
DOM-element.
You could add this logic to render method or use it after call of render.

2. If you want to set boundaries to be exactly as viewport you could set all 
value to 0 - it will be akasted to viewport. This code is working:
  whiteboard = bay.whiteboard.Create();
  whiteboard.render(document.getElementById('whiteboard'));
  whiteboard.setBoundaries(0, 0, 0, 0);

                
> Drawing area of the Wicket based Whiteboard should be limited
> -------------------------------------------------------------
>
>                 Key: OPENMEETINGS-731
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-731
>             Project: Openmeetings
>          Issue Type: Sub-task
>          Components: HTML5
>    Affects Versions: 3.0.0 Apache Release
>            Reporter: Andun Sameera Liyanagunawardana
>             Fix For: 3.0.0 Apache Release
>
>
> Now we can drag drawings on whiteboard endlessly. It have to be limited to 
> drawing area.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to