| Index: remoting/client/view_matrix.cc
|
| diff --git a/remoting/client/view_matrix.cc b/remoting/client/view_matrix.cc
|
| index 798548fcf4f2f27e82e87daeb7431327b1a5c59b..0172341747a32220da62e89d9ff72283292d0ad7 100644
|
| --- a/remoting/client/view_matrix.cc
|
| +++ b/remoting/client/view_matrix.cc
|
| @@ -35,7 +35,9 @@ float ViewMatrix::GetScale() const {
|
|
|
| void ViewMatrix::PostScale(const Point& pivot, float scale) {
|
| scale_ *= scale;
|
| + offset_.x *= scale;
|
| offset_.x += (1.f - scale) * pivot.x;
|
| + offset_.y *= scale;
|
| offset_.y += (1.f - scale) * pivot.y;
|
| }
|
|
|
|
|