Drake7707 Posted May 12, 2006 Report Posted May 12, 2006 Dunno why but the selection moves along with the screen when clicking the radar, when scrolling with the scrollbars or using left or right or up or down, then it doesn't move along. Weird :s
Samapico Posted May 12, 2006 Report Posted May 12, 2006 interesting maybe 'picradar_click' should just call updateselectiononpreview or something like that or wait... that one is called with updatepreview hm? .... anyways... i cant even check this out... boohoo
»D1st0rt Posted May 12, 2006 Report Posted May 12, 2006 There is a ticket manager available at the project page here, though if the forum is easier just stick with that
Drake7707 Posted May 13, 2006 Author Report Posted May 13, 2006 ok i was able to fix it, but still don't understand how it happens in updateselectiononpreview there is If selstate = append And (Not SharedVar.MouseDown Or curtool = T_hand) Then and when using the arrow keys to navigate on the map, the updatelevel gets called in the change of the hscr and vscr (which wasn't exactly the way i want it to as it does it double but meh) and when using radar it calls updatelevel afterwards. Now somehow after 30min of debugging i found out that sharedvar.mousedown = false when using arrow keys, and it was true when clicking in the radar. Tadaah, you got yourself a bug, as it wont update when the mouse is down. This is, personnally, one of the most stupid and hidden bugs i've seen -_- I don't even know why i put (Not SharedVar.MouseDown Or curtool = T_hand) in the if in the first placeEdit: oh yeah, you can't move the selection because it constantly updated to its position Conclusion: the sharedvar.mousedown using for both frmmain and frmgeneral => BAD IDEA !, i removed the mousedown = true from the radar as it was not needed anyway.
Recommended Posts