From: Erik V. <eri...@hc...> - 2005-11-12 22:56:54
|
> >One major gripe I have is that so many mouse clicks are > ignored by the UI. > >Sometimes I have to click 4 or 5 times to get the desired effect. > >How is that with you, Brett? > > Yeah, I'm seeing the same behavior. > > I think it's a product of how we're handling rotation. The > first couple of clicks are either being handled by the > selection code, or hitting the first parts of the rotation > array, which rotate the hex to the same position it's currently in. It seems to me that those clicks are not even picked up. In the past week I have tried if removing the MouseMotionListener (which is known to be a slow-down) would have any effect, but not so (this interface is used for setting the tooltip). > I think that area needs a lot of clean-up as well. > > Right now, the values in the rotation arrays are fairly > specific coordinate values, and will break if we try to > rescale the map. You might have noticed that I have put all that in a new class GUITile. One reason for that is that it might be easier to fix such things. Perhaps I can do something about that pretty soon. Erik. |