| 570 | } |
| 571 | |
| 572 | void scaleTextureLeft() |
| 573 | { |
| 574 | // Correct the factor such that clicking the down and up button in the surface inspector |
| 575 | // brings us back to the original state |
| 576 | auto step = registry::getValue<float>("user/ui/textures/surfaceInspector/hScaleStep"); |
| 577 | scaleTexture(Vector2(1 / (1 + step) - 1, 0.0f)); |
| 578 | } |
| 579 | |
| 580 | void scaleTextureRight() |
| 581 | { |
no test coverage detected