babylonjs-gui 5.17.1 → 5.20.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.
@@ -3736,8 +3736,12 @@ export class ImageScrollBar extends BaseSlider {
3736
3736
  private _thumbHeight;
3737
3737
  private _barImageHeight;
3738
3738
  private _tempMeasure;
3739
+ private _invertScrollDirection;
3739
3740
  /** Number of 90° rotation to apply on the images when in vertical mode */
3740
3741
  num90RotationInVerticalMode: number;
3742
+ /** Inverts the scrolling direction (default: false) */
3743
+ get invertScrollDirection(): boolean;
3744
+ set invertScrollDirection(invert: boolean);
3741
3745
  /**
3742
3746
  * Gets or sets the image used to render the background for horizontal bar
3743
3747
  */
@@ -3798,12 +3802,16 @@ export class ScrollBar extends BaseSlider {
3798
3802
  private _background;
3799
3803
  private _borderColor;
3800
3804
  private _tempMeasure;
3805
+ private _invertScrollDirection;
3801
3806
  /** Gets or sets border color */
3802
3807
  get borderColor(): string;
3803
3808
  set borderColor(value: string);
3804
3809
  /** Gets or sets background color */
3805
3810
  get background(): string;
3806
3811
  set background(value: string);
3812
+ /** Inverts the scrolling direction (default: false) */
3813
+ get invertScrollDirection(): boolean;
3814
+ set invertScrollDirection(invert: boolean);
3807
3815
  /**
3808
3816
  * Creates a new Slider
3809
3817
  * @param name defines the control name
@@ -11523,8 +11531,12 @@ declare module BABYLON.GUI {
11523
11531
  private _thumbHeight;
11524
11532
  private _barImageHeight;
11525
11533
  private _tempMeasure;
11534
+ private _invertScrollDirection;
11526
11535
  /** Number of 90° rotation to apply on the images when in vertical mode */
11527
11536
  num90RotationInVerticalMode: number;
11537
+ /** Inverts the scrolling direction (default: false) */
11538
+ get invertScrollDirection(): boolean;
11539
+ set invertScrollDirection(invert: boolean);
11528
11540
  /**
11529
11541
  * Gets or sets the image used to render the background for horizontal bar
11530
11542
  */
@@ -11579,12 +11591,16 @@ declare module BABYLON.GUI {
11579
11591
  private _background;
11580
11592
  private _borderColor;
11581
11593
  private _tempMeasure;
11594
+ private _invertScrollDirection;
11582
11595
  /** Gets or sets border color */
11583
11596
  get borderColor(): string;
11584
11597
  set borderColor(value: string);
11585
11598
  /** Gets or sets background color */
11586
11599
  get background(): string;
11587
11600
  set background(value: string);
11601
+ /** Inverts the scrolling direction (default: false) */
11602
+ get invertScrollDirection(): boolean;
11603
+ set invertScrollDirection(invert: boolean);
11588
11604
  /**
11589
11605
  * Creates a new Slider
11590
11606
  * @param name defines the control name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "5.17.1",
3
+ "version": "5.20.0",
4
4
  "main": "babylon.gui.js",
5
5
  "types": "babylon.gui.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.*"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^5.17.1"
17
+ "babylonjs": "^5.20.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",