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

Andun Sameera Liyanagunawardana commented on OPENMEETINGS-731:
--------------------------------------------------------------

I have logged the value of this.area.transformation to see what happen. When 
the whiteboard loads it gives,

{"m11_":-1,"m00_":1,"m12_":296,"m02_":640,"m01_":0,"m10_":0}

When we zoom in/out m11,m00 values changes and when we scroll m02, m01 value 
changes. Thus can we have this kind of a example logic in the 
onSetTransformation function of the scale,

if(!(m11_>-1 || m00_<1)){
  #Existing Code
}

Also what should be the appropriate logic to do shifting?

                
> 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