Menu

#1 User preference for hit testing links

open
nobody
None
5
2004-08-06
2004-08-06
No

Hit testing on links is managed in the DKPath class. The
critical line is

if \( \[self hitTest:m

againstLineFrom:[fromDKPoint nsPoint]
to:[toDKPoint nsPoint]
allowedDistance:2.0] )
return YES;

allowedDistance is hard coded, and the value of 2.0 causes
problems for some screen resolutions and some users.

The allowedDistance should be a User Preference in the
range 5.0 to 2.0.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.