You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Andun Sameera Liyanagunawardana (JIRA)" <ji...@apache.org> on 2013/08/05 20:36:48 UTC
[jira] [Comment Edited] (OPENMEETINGS-731) Drawing area of the
Wicket based Whiteboard should be limited
[ https://issues.apache.org/jira/browse/OPENMEETINGS-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729773#comment-13729773 ]
Andun Sameera Liyanagunawardana edited comment on OPENMEETINGS-731 at 8/5/13 6:35 PM:
--------------------------------------------------------------------------------------
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? Actually what these m11, m02 etc. represents ?
was (Author: andunslg):
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