OGL - When you have a BoxShape below a line, selecting the line is impossible

So the question is how can one "increase" the sensitivity of the line
for selecting ?

Thanks
Gary

In wx/lib/ogl/_diagram.py is a line like

DEFAULT_MOUSE_TOLERANCE = 3

Maybe you can adjust that to 1 for very fine selecting. E.g.

from wx.ogl import _diagram
_diagram.DEFAULT_MOUSE_TOLERANCE = 1

or sth similar.

-Matthias

···

Am 22.01.2007, 00:00 Uhr, schrieb Gary Greyling <gary.greyling@gmail.com>:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So the question is how can one "increase" the sensitivity of the line
for selecting ?

Thanks
Gary

Does not seem to have any effect, will go dig through the code, thanks
for the suggestion.

Gary

Nitro wrote:

···

Am 22.01.2007, 00:00 Uhr, schrieb Gary Greyling <gary.greyling@gmail.com>:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So the question is how can one "increase" the sensitivity of the line
for selecting ?

Thanks
Gary

In wx/lib/ogl/_diagram.py is a line like

DEFAULT_MOUSE_TOLERANCE = 3

Maybe you can adjust that to 1 for very fine selecting. E.g.

from wx.ogl import _diagram
_diagram.DEFAULT_MOUSE_TOLERANCE = 1

or sth similar.

-Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org