Changeset 812 for trunk/src/org/expeditee/items/Text.java
- Timestamp:
- 02/03/14 13:46:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Text.java
r777 r812 2466 2466 invalidateFill(); 2467 2467 invalidateCommonTrait(ItemAppearence.PreMoved); 2468 2469 this._anchorLeft = anchor; 2470 this._anchorRight = null; 2471 2468 2472 int oldX = getX(); 2469 2473 if (anchor != null) { … … 2471 2475 anchorConnected(AnchorEdgeType.Left, deltaX); 2472 2476 } 2473 this._anchorLeft = anchor; 2474 this._anchorRight = null; 2477 2475 2478 invalidateCommonTrait(ItemAppearence.PostMoved); 2476 2479 invalidateFill(); … … 2490 2493 invalidateFill(); 2491 2494 invalidateCommonTrait(ItemAppearence.PreMoved); 2495 2496 this._anchorRight = anchor; 2497 this._anchorLeft = null; 2498 2492 2499 int oldX = getX(); 2493 2500 if (anchor != null) { … … 2496 2503 anchorConnected(AnchorEdgeType.Right, deltaX); 2497 2504 } 2498 this._anchorRight = anchor; 2499 this._anchorLeft = null; 2505 2500 2506 invalidateCommonTrait(ItemAppearence.PostMoved); 2501 2507 invalidateFill(); … … 2515 2521 invalidateFill(); 2516 2522 invalidateCommonTrait(ItemAppearence.PreMoved); 2523 2524 this._anchorTop = anchor; 2525 this._anchorBottom = null; 2526 2517 2527 int oldY = getY(); 2518 2528 if (anchor != null) { … … 2520 2530 anchorConnected(AnchorEdgeType.Top, deltaY); 2521 2531 } 2522 this._anchorTop = anchor; 2523 this._anchorBottom = null; 2532 2524 2533 invalidateCommonTrait(ItemAppearence.PostMoved); 2525 2534 invalidateFill(); … … 2534 2543 invalidateFill(); 2535 2544 invalidateCommonTrait(ItemAppearence.PreMoved); 2545 2546 this._anchorBottom = anchor; 2547 this._anchorTop = null; 2548 2536 2549 int oldY = getY(); 2537 2550 if (anchor != null) { … … 2541 2554 anchorConnected(AnchorEdgeType.Bottom, deltaY); 2542 2555 } 2543 this._anchorBottom = anchor; 2544 this._anchorTop = null; 2556 2545 2557 invalidateCommonTrait(ItemAppearence.PostMoved); 2546 2558 invalidateFill();
Note:
See TracChangeset
for help on using the changeset viewer.