mirror of https://github.com/tooot-app/app
parent
2c96991ca0
commit
90c8e4cba8
|
@ -1,3 +1,4 @@
|
|||
const adaptiveScale = (size: number, factor: number = 0) => Math.round(size + size * (factor / 8))
|
||||
const adaptiveScale = (size: number, factor: number = 0) =>
|
||||
factor ? Math.round(size + size * (factor / 8)) : size
|
||||
|
||||
export { adaptiveScale }
|
||||
|
|
Loading…
Reference in New Issue