How can I reproduce this bug? What do you do exactly?
Alexandre
On Apr 24, 2014, at 1:07 PM, Leo Perard <leo.perard(a)gmail.com> wrote:
There is a bug when I update an element which has a
RTCompositeShape with one of its shape as a RTCompositeShape too
<update-composite-shape.png>
On Thu, Apr 24, 2014 at 5:29 PM, Leo Perard <leo.perard(a)gmail.com> wrote:
On Thu, Apr 24, 2014 at 5:12 PM, Alexandre Bergel <alexandre.bergel(a)me.com> wrote:
I just committed the possibility for element to be fixed or not.
For example:
testAdding
| e1 e2 |
e1 := RTBox element.
e2 := RTBox element.
e1 setAsFixed.
view add: e1.
view add: e2.
self assert: view canvas numberOfFixedShapes = 1.
self assert: view canvas numberOfShapes = 1.
Let me know whether this works as you expect.
No I get this error :
<error-setAsFixed.png>
The canvas of the composite shape is nil
--
Leo Perard
--
Leo Perard
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.