mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-25 02:54:04 +03:00
release 4.3.0
This commit is contained in:
parent
96ad6f93ed
commit
08d8add438
|
@ -1,5 +1,5 @@
|
|||
MDB5
|
||||
Version: FREE 4.2.0
|
||||
Version: FREE 4.3.0
|
||||
|
||||
Documentation:
|
||||
https://mdbootstrap.com/docs/standard/
|
||||
|
|
2
css/mdb.min.css
vendored
2
css/mdb.min.css
vendored
|
@ -1,6 +1,6 @@
|
|||
/*!
|
||||
* MDB5
|
||||
* Version: FREE 4.2.0
|
||||
* Version: FREE 4.3.0
|
||||
*
|
||||
*
|
||||
* Copyright: Material Design for Bootstrap
|
||||
|
|
File diff suppressed because one or more lines are too long
4
js/mdb.min.js
vendored
4
js/mdb.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mdb-ui-kit",
|
||||
"version": "4.2.0",
|
||||
"version": "4.3.0",
|
||||
"main": "js/mdb.min.js",
|
||||
"homepage": "https://mdbootstrap.com/docs/standard/",
|
||||
"repository": "https://github.com/mdbootstrap/mdb-ui-kit.git",
|
||||
|
|
|
@ -117,12 +117,18 @@ class Ripple {
|
|||
EventHandler.on(target, 'mousedown', this._clickHandler);
|
||||
}
|
||||
|
||||
_getEventLayer(event) {
|
||||
const x = Math.round(event.clientX - event.target.getBoundingClientRect().x);
|
||||
const y = Math.round(event.clientY - event.target.getBoundingClientRect().y);
|
||||
return { layerX: x, layerY: y };
|
||||
}
|
||||
|
||||
_createRipple(event) {
|
||||
if (!Manipulator.hasClass(this._element, CLASSNAME_RIPPLE)) {
|
||||
Manipulator.addClass(this._element, CLASSNAME_RIPPLE);
|
||||
}
|
||||
|
||||
const { layerX, layerY } = event;
|
||||
const { layerX, layerY } = this._getEventLayer(event);
|
||||
const offsetX = layerX;
|
||||
const offsetY = layerY;
|
||||
const height = this._element.offsetHeight;
|
||||
|
|
Loading…
Reference in New Issue
Block a user