We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 103a1c2 commit c7ba229Copy full SHA for c7ba229
modules/gui/HierarchyPainter.mjs
@@ -2023,8 +2023,8 @@ class HierarchyPainter extends BasePainter {
2023
* @private */
2024
dropItem(itemname, divid, opt) {
2025
2026
- if (opt && typeof opt === 'function') { call_back = opt; opt = ""; }
2027
- if (opt===undefined) opt = "";
+ if ((opt === undefined) || (typeof opt === 'function'))
+ opt = "";
2028
2029
let drop_complete = (drop_painter, is_main_painter) => {
2030
if (!is_main_painter && (typeof drop_painter?.setItemName == 'function'))
0 commit comments