mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-29 09:04:55 +01:00
Merged in bugfix/icon-delete (pull request #21)
Fix icon delete btn disappearing too quick * Fix icon delete btn disappearing too quick Approved-by: Paulo Veiga
This commit is contained in:
parent
6da0d22d1b
commit
339da49634
@ -1,4 +1,3 @@
|
||||
import $ from 'jquery';
|
||||
import { $assert, $defined } from '@wisemapping/core-js';
|
||||
import { Group, Rect, Line } from '@wisemapping/web2d';
|
||||
|
||||
@ -86,7 +85,7 @@ export default class RemoveTip {
|
||||
if (!$defined(delay) || delay === 0) {
|
||||
close();
|
||||
} else {
|
||||
this._closeTimeoutId = $(close).delay(delay);
|
||||
this._closeTimeoutId = setTimeout(close, delay);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user