stepZoom calls [SetZoom] with the current zoom plus 10 times the given number of steps.
(steps float32)
| 231 | |
| 232 | // stepZoom calls [SetZoom] with the current zoom plus 10 times the given number of steps. |
| 233 | func (w *renderWindow) stepZoom(steps float32) { |
| 234 | w.setZoom(AppearanceSettings.Zoom + 10*steps) |
| 235 | } |
| 236 | |
| 237 | // setZoom sets [AppearanceSettingsData.Zoom] to the given value and then triggers |
| 238 | // necessary updating and makes a snackbar. |
no test coverage detected