Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.5, 5.11.0 RC 1
-
None
-
dce96572f6e073cdf8eed916365c2cc81e9da4a4
Description
The Math.hypot() function is no longer working. This makes the accelbubble example fail (which it didn't do before), since it uses it to calculate the path of the bubble.
This small example reproduces it:
import QtQuick 2.1 import QtQuick.Window 2.1 Window { width: 480 height: 640 visible: true visibility: Window.AutomaticVisibility Component.onCompleted: { var tmp = Math.hypot(3, 4) print(tmp) } }
Output:
qrc:///main.qml:11: TypeError: Property 'hypot' of object [object Math] is not a function