Improvements on layer panels
This commit is contained in:
1 parent
fbd7a771e4
commit
ec996bd41b
2 files changed
+8
-5
No files matched your search
@@ -81,13 +81,13 @@ function newFrame () {
|
||||
/* This function is usefull to know if the object who has this frame is currently appearing at least in part at the canvas.chartingSpace.viewport */
|
||||
|
||||
point1 = {
|
||||
x: thisObject.width * 25 / 100,
|
||||
y: thisObject.height * 25 / 100
|
||||
x: thisObject.width * 40 / 100,
|
||||
y: thisObject.height * 40 / 100
|
||||
}
|
||||
|
||||
point3 = {
|
||||
x: thisObject.width * 75 / 100,
|
||||
y: thisObject.height * 75 / 100
|
||||
x: thisObject.width * 40 / 100,
|
||||
y: thisObject.height * 40 / 100
|
||||
}
|
||||
|
||||
/* Now the transformations. */
|
||||
|
||||
Reference in new issue
Block a user