Commit 2a33e09f authored by luyikei's avatar luyikei

Timeline: Don't change the scale of the timeline by making unit a multiple of fps

parent 77c08c99
......@@ -274,7 +274,8 @@ Rectangle {
newUnit = mUnit;
}
// Make unit a multiple of fps. This can change the scale but let's ignore it.
// Make unit a multiple of fps.
newPpu *= ( newUnit - ( newUnit % mUnit ) ) / newUnit;
newUnit -= newUnit % mUnit;
// If "almost" the same value, don't bother redrawing the ruler.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment