Fix sketcher mode handling to prevent unintended line creation during drag operations
Major changes: - Fixed right-click handler to directly set mode to NONE instead of relying on main app signal handling - Added safety checks in left-click handler to prevent drawing when no draggable point is found in NONE mode - Enhanced mode compatibility by treating Python None as SketchMode.NONE in set_mode() method - Added comprehensive debug logging for mode changes and interaction state tracking - Resolved integration issue where persistent constraint modes were prematurely reset by main app - Ensured point dragging is only enabled in NONE mode, preventing accidental polyline creation This fixes the reported issue where deactivating the line tool would still create lines when dragging, and ensures proper mode transitions between drawing tools and selection/drag mode.
This commit is contained in:
68
main.app/Contents/MacOS/matplotlib/mpl-data/images/help.pdf
Normal file
68
main.app/Contents/MacOS/matplotlib/mpl-data/images/help.pdf
Normal file
@@ -0,0 +1,68 @@
|
||||
%PDF-1.4
|
||||
%<25><> <20><>
|
||||
1 0 obj
|
||||
<< /Pages 2 0 R /Type /Catalog >>
|
||||
endobj
|
||||
8 0 obj
|
||||
<< /ExtGState 4 0 R /Font 3 0 R /Pattern 5 0 R
|
||||
/ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] /Shading 6 0 R
|
||||
/XObject 7 0 R >>
|
||||
endobj
|
||||
10 0 obj
|
||||
<< /Annots [ ] /Contents 9 0 R
|
||||
/Group << /CS /DeviceRGB /S /Transparency /Type /Group >>
|
||||
/MediaBox [ 0 0 72 72 ] /Parent 2 0 R /Resources 8 0 R /Type /Page >>
|
||||
endobj
|
||||
9 0 obj
|
||||
<< /Filter /FlateDecode /Length 11 0 R >>
|
||||
stream
|
||||
x<EFBFBD>m<EFBFBD>͎S1<0C><>y<EFBFBD><79><04><>Ώ<EFBFBD>!͞-bU<62><55><EFBFBD><EFBFBD>f$x}<7D><><EFBFBD><EFBFBD>^<5E><>*<2A><>8>><3E>y<EFBFBD><79><EFBFBD><0F><><EFBFBD>oy<6F><79><EFBFBD>g<EFBFBD><67>}<7D><>m<EFBFBD><6D>y{<7B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><05><>|n<>q<EFBFBD>H<EFBFBD>
|
||||
/<2F>|<7C><15><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R*Jb\<5C>n<EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>5sX<73>Z<06><>;<3B>GL<47> <09><1D><><14>j;ݻ%e2<65><32>z@ <20><1E><>'<27><>\<5C>A
|
||||
<EFBFBD><EFBFBD>{;<3B>c<EFBFBD><63><EFBFBD><EFBFBD>R<EFBFBD><52>v);<3B><>C<EFBFBD>o<>(n<><6E>{<7B>G4<47>\`r<>$=<3D><><11><><EFBFBD>,(8#<23><11><><EFBFBD>JÚT<C39A><54><EFBFBD><16><03><>L<EFBFBD><4C><04>PՑ]\<5C>6<EFBFBD>d<EFBFBD>9<EFBFBD><39><EFBFBD>lD X<>x<EFBFBD>e<EFBFBD><65><EFBFBD><1D>v<76>@&Y=v<>rX:<3A>4צ<34><D7A6>TOzs<7A><73>xZE<5A>5<1A><><EFBFBD>"c<><08>3B\<5C><><EFBFBD><16>i!ru<>nzͲ<7A>]<5D>xK&<26>6<EFBFBD><36>ꠙC<><43><EFBFBD><EFBFBD>X(<28>0i/V+5<>蜣<EFBFBD><E89CA3><13>F<EFBFBD>0
|
||||
<EFBFBD><EFBFBD>-<2D><1C><<3C>U9<55>eY<07><0E>M<EFBFBD><0F>Q<EFBFBD><51><0E><>"<22>}<7D>B<07><><12>m<EFBFBD><6D><EFBFBD>p꽶Vγ<56><CEB3><EFBFBD><EFBFBD><EFBFBD>!X<><58><EFBFBD>bf9/<2F>0<EFBFBD>T"<22><>$<1E><><13>b<EFBFBD>͎b<1A><>^<5E>C<EFBFBD><43><EFBFBD>z<>*<1E>!<1A><><EFBFBD><EFBFBD>3^<5E>?}Y<10><>p<EFBFBD><70><08>WR<57>Kb<1F>\<10><><EFBFBD><EFBFBD><03>]Ԙm^<5E><>~1չ<31><D5B9><EFBFBD>9_<39><5F>=<3D><><EFBFBD>b<07>
|
||||
endstream
|
||||
endobj
|
||||
11 0 obj
|
||||
549
|
||||
endobj
|
||||
3 0 obj
|
||||
<< >>
|
||||
endobj
|
||||
4 0 obj
|
||||
<< /A1 << /CA 0 /Type /ExtGState /ca 0 >>
|
||||
/A2 << /CA 1 /Type /ExtGState /ca 1 >> >>
|
||||
endobj
|
||||
5 0 obj
|
||||
<< >>
|
||||
endobj
|
||||
6 0 obj
|
||||
<< >>
|
||||
endobj
|
||||
7 0 obj
|
||||
<< >>
|
||||
endobj
|
||||
2 0 obj
|
||||
<< /Count 1 /Kids [ 10 0 R ] /Type /Pages >>
|
||||
endobj
|
||||
12 0 obj
|
||||
<< /CreationDate (D:20170812144045-04'00')
|
||||
/Creator (matplotlib 2.0.2.post4623.dev0+gcb3aea0db, http://matplotlib.org)
|
||||
/Producer (matplotlib pdf backend 2.0.2.post4623.dev0+gcb3aea0db) >>
|
||||
endobj
|
||||
xref
|
||||
0 13
|
||||
0000000000 65535 f
|
||||
0000000016 00000 n
|
||||
0000001210 00000 n
|
||||
0000001027 00000 n
|
||||
0000001048 00000 n
|
||||
0000001147 00000 n
|
||||
0000001168 00000 n
|
||||
0000001189 00000 n
|
||||
0000000065 00000 n
|
||||
0000000383 00000 n
|
||||
0000000208 00000 n
|
||||
0000001007 00000 n
|
||||
0000001270 00000 n
|
||||
trailer
|
||||
<< /Info 12 0 R /Root 1 0 R /Size 13 >>
|
||||
Reference in New Issue
Block a user