mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-13 04:41:27 -08:00
Slowed down the chooser's horizontal scale factor
This commit is contained in:
parent
c483551ea3
commit
3d4e92568f
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ function hoverChooser(macroNode,x,y) {
|
|||
// Scale the panel to fit
|
||||
var scaleFactor = window.innerHeight/heightPanel;
|
||||
// Scale up as we move right
|
||||
var expandFactor = x > 50 ? (x/50) : 1;
|
||||
var expandFactor = x > 50 ? ((x+150)/200) : 1;
|
||||
// Set up the transform
|
||||
var scale = scaleFactor * expandFactor,
|
||||
translateX = x > 16 ? 0 : -(((16-x)/16) * widthPanel) / scale,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue