Skip to content

Commit

Permalink
0.9.6: Make some slider fields protected instead of private
Browse files Browse the repository at this point in the history
  • Loading branch information
rafern committed Aug 12, 2024
1 parent 43e9758 commit 11556a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lazy-widgets",
"version": "0.9.5",
"version": "0.9.6",
"description": "Typescript retained mode GUI for the HTML canvas API",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down
8 changes: 4 additions & 4 deletions src/widgets/Slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ export class Slider extends Widget {
/** Is this a vertical slider? */
protected readonly vertical: boolean;
/** The horizontal offset of the slider */
private offsetX = 0;
protected offsetX = 0;
/** The vertical offset of the slider */
private offsetY = 0;
protected offsetY = 0;
/** The actual width of the slider */
private actualWidth = 0;
protected actualWidth = 0;
/** The actual height of the slider */
private actualHeight = 0;
protected actualHeight = 0;
/** Is the keyboard focusing this widget? */
@damageField
private keyboardFocused = false;
Expand Down

0 comments on commit 11556a5

Please sign in to comment.