zimjs 16.3.8 → 16.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/zim.js +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zimjs",
3
- "version": "16.3.8",
3
+ "version": "16.4.0",
4
4
  "type": "module",
5
5
  "main": "./src/zim.js",
6
6
  "types": "./ts-src/typings/zim",
package/src/zim.js CHANGED
@@ -23522,9 +23522,9 @@ height - (default 60) the height of the button or AUTO to fit height to label (s
23522
23522
  label - (default "CLICK" or "" if icon or backing) ZIM Label or plain text with default settings (white)
23523
23523
  ---------- NORMAL MODE
23524
23524
  backgroundColor - |ZIM VEE| (default purple) background color of button (any CSS color)
23525
- also as of ZIM ZIM 01 any backgroundColor can be written as bgColor
23525
+ also as of ZIM ZIM 01 any backgroundColor parameter can be written as bgColor
23526
23526
  rollBackgroundColor - |ZIM VEE| (default backgroundColor.lighten(.2)) rollover background color of button
23527
- also as of ZIM ZIM 01 any backgroundColor can be written as bgColor - so rollBgColor works, etc.
23527
+ also as of ZIM ZIM 01 any backgroundColor parameter can be written as bgColor - so rollBgColor works, etc.
23528
23528
  downBackgroundColor - |ZIM VEE| (default null) pressing down background color of button
23529
23529
  color - |ZIM VEE| (default white) label color of button (any CSS color) unless a custom Label is set
23530
23530
  rollColor - |ZIM VEE| (default white) rollover label color of button
@@ -26609,11 +26609,12 @@ added, click, dblclick, mousedown, mouseout, mouseover, pressdown (ZIM), pressmo
26609
26609
  }
26610
26610
  closeIcon.expand(40);
26611
26611
  closeIcon.cur("pointer");
26612
- closeIcon.on((!zns?WW.ACTIONEVENT=="mousedown":zim.ACTIONEVENT=="mousedown")?"mousedown":"click", function () {
26612
+ closeIcon.on((!zns?WW.ACTIONEVENT=="mousedown":zim.ACTIONEVENT=="mousedown")?"mousedown":"click", function (e) {
26613
26613
  var s = that.stage;
26614
26614
  that.removeFrom();
26615
26615
  that.dispatchEvent("close");
26616
26616
  s.update();
26617
+ e.stopImmediatePropagation();
26617
26618
  });
26618
26619
  }
26619
26620
  this.add = function(obj, index, center, replace) {