fixes
This commit is contained in:
parent
3d40256bde
commit
8489c57d40
8 changed files with 135 additions and 14 deletions
|
|
@ -35,6 +35,10 @@ MouseElement::MouseElement(Anchor anchor) : Transform(anchor) {
|
|||
|
||||
}
|
||||
|
||||
MouseElement::MouseElement(WindowMouse& window) : Transform({FractionalToMapped(0), FractionalToMapped(0), FractionalToMapped(1), FractionalToMapped(1), FractionalToMapped(0), FractionalToMapped(0), 0}) {
|
||||
window.mouseElements.push_back(this);
|
||||
}
|
||||
|
||||
|
||||
void MouseElement::UpdatePosition(Window& window) {
|
||||
window.ScaleMouse(*this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue