.. | .. |
---|
7417 | 7417 | boundary.y = spot.y - 30; |
---|
7418 | 7418 | boundary.width = spot.width + 60; |
---|
7419 | 7419 | boundary.height = spot.height + 60; |
---|
7420 | | - clickInfo.g.setColor(Color.red); |
---|
| 7420 | + clickInfo.g.setColor(Color.white); |
---|
7421 | 7421 | int spotw = spot.x + spot.width; |
---|
7422 | 7422 | int spoth = spot.y + spot.height; |
---|
7423 | 7423 | clickInfo.g.fillRect(spot.x, spot.y, spot.width, spot.height); |
---|
.. | .. |
---|
7818 | 7818 | case 3: // '\001' |
---|
7819 | 7819 | if (modified || opposite) |
---|
7820 | 7820 | { |
---|
| 7821 | + if (modified && opposite) |
---|
| 7822 | + LA.matScale(toParent, totalScale, totalScale, totalScale); |
---|
| 7823 | + else |
---|
7821 | 7824 | //LA.matScale(toParent, 1, hScale, vScale); |
---|
7822 | | - LA.matScale(toParent, totalScale, 1, 1); |
---|
| 7825 | + LA.matScale(toParent, totalScale, 1, 1); |
---|
7823 | 7826 | } // vScale, 1); |
---|
7824 | 7827 | else |
---|
7825 | 7828 | { |
---|
7826 | 7829 | // EXCEPTION! |
---|
7827 | | - LA.matScale(toParent, totalScale, totalScale, totalScale); |
---|
| 7830 | + LA.matScale(toParent, 1, totalScale, totalScale); |
---|
7828 | 7831 | } // vScale, 1); |
---|
7829 | 7832 | break; |
---|
7830 | 7833 | |
---|
7831 | 7834 | case 2: // '\002' |
---|
7832 | 7835 | if (modified || opposite) |
---|
7833 | 7836 | { |
---|
7834 | | - //LA.matScale(toParent, hScale, 1, vScale); |
---|
7835 | | - LA.matScale(toParent, 1, totalScale, 1); |
---|
| 7837 | + if (modified && opposite) |
---|
| 7838 | + LA.matScale(toParent, totalScale, totalScale, totalScale); |
---|
| 7839 | + else |
---|
| 7840 | + //LA.matScale(toParent, hScale, 1, vScale); |
---|
| 7841 | + LA.matScale(toParent, 1, totalScale, 1); |
---|
7836 | 7842 | } else |
---|
7837 | 7843 | { |
---|
7838 | 7844 | LA.matScale(toParent, totalScale, 1, totalScale); |
---|
.. | .. |
---|
7842 | 7848 | case 1: // '\003' |
---|
7843 | 7849 | if (modified || opposite) |
---|
7844 | 7850 | { |
---|
7845 | | - //LA.matScale(toParent, hScale, vScale, 1); |
---|
7846 | | - LA.matScale(toParent, 1, 1, totalScale); |
---|
| 7851 | + if (modified && opposite) |
---|
| 7852 | + LA.matScale(toParent, totalScale, totalScale, totalScale); |
---|
| 7853 | + else |
---|
| 7854 | + //LA.matScale(toParent, hScale, vScale, 1); |
---|
| 7855 | + LA.matScale(toParent, 1, 1, totalScale); |
---|
7847 | 7856 | } else |
---|
7848 | 7857 | { |
---|
7849 | 7858 | LA.matScale(toParent, totalScale, totalScale, 1); |
---|