Skip to content

Commit

Permalink
Bumped up the version for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
sconix committed Nov 21, 2017
1 parent aa119fc commit 0573dd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Angular wrapper library for Perfect Scrollbar",
"bugs": "https://github.com/zefoy/ngx-perfect-scrollbar/issues",
"license": "MIT",
"version": "4.9.4",
"version": "4.9.5",
"main": "bundles/ngx-perfect-scrollbar.umd.js",
"module": "./dist/index.js",
"typings": "./dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion src/lib/perfect-scrollbar.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ export class PerfectScrollbarDirective implements OnDestroy, DoCheck, OnChanges,
this.animateScrolling(target, value, 0);
} else {
this.elementRef.nativeElement[target] = newValue;
// On a zoomed out page in Chrome the resulting offset may differ from the specified value

// On a zoomed out page the resulting offset may differ
oldValue = this.elementRef.nativeElement[target];

this.ps.update();
Expand Down

0 comments on commit 0573dd8

Please sign in to comment.