mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
increase zoom of buttons + refactor
This commit is contained in:
@@ -53,8 +53,8 @@ export function getZoomPercent({
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert linear slider position (0-1) to exponential zoom level.
|
||||
* At low slider values, zoom changes are small. At high values, changes are large.
|
||||
* convert linear slider position (0-1) to exponential zoom level.
|
||||
* at low slider values, zoom changes are small. at high values, changes are large.
|
||||
*/
|
||||
export function sliderToZoom({
|
||||
sliderPosition,
|
||||
|
||||
Reference in New Issue
Block a user