Changeset 1035 for trunk/src/input.cpp
- Timestamp:
- Oct 29, 2011, 5:37:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/input.cpp
r866 r1035 131 131 if (data->entities[n] == top) 132 132 { 133 data->entities[n]->mousepos = (ivec2)((ivec3)coord - top->bbox[0]);133 data->entities[n]->mousepos = coord - top->bbox[0].xy(); 134 134 if (top != data->lastfocus) 135 135 data->entities[n]->pressed = data->buttons;
Note: See TracChangeset
for help on using the changeset viewer.