![]() I tried putting lock() around the block inside the if statement in Pb_MouseMove, but that didn't help anything. For testing I recommend deleting all but one map from the json file there. Map data is not included, but can be downloaded with the script in Assets. The update function takes a few milliseconds to complete, as it loads the images from disk and composites them and finally draws them back to the picture box. I think it has to do with some kind of race condition that sets lastX and lastY between one slew and the next with the update drawing things in between. Slava Ukraini Only types. Made by /u/nixonhenrixon & git/iJigg Our thoughts and prayers are with the people of Ukraine during these difficult times. I would like the whole program to be a bit more responsive to begin with, it feels sluggish, which is why I introduced the timer to begin with, so it doesn't draw updates on every little change dozens of times per second as I move the mouse a tiny amount. DayZ Standalone Tools 144115 users have generated 920856 files with this tool. I just don't know how to go about trying to find out what's causing it or how to fix it. The issue is that when I click and drag the map it works in principle but every so often the map "jumps" back to a previous mouse position. ![]() There also is a zoom but that's unimportant for now and works fine. ![]() ![]() A timer is run and every 200ms it calls the update function which builds the picture based on X and Y. X and Y are properties that invalidate the picture box by setting a boolean needsUpdate to true. ![]()
0 Comments
Leave a Reply. |