1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

fix compilation error (class and function visibility)

This commit is contained in:
Braun Patrik 2017-07-19 07:48:22 +02:00
parent a0985bebe6
commit 663f4edc39
2 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ export class MyHammerConfig extends HammerGestureConfig {
}
}
class CustomUrlSerializer implements UrlSerializer {
export class CustomUrlSerializer implements UrlSerializer {
private _defaultUrlSerializer: DefaultUrlSerializer = new DefaultUrlSerializer();
parse(url: string): UrlTree {

View File

@ -339,11 +339,11 @@ export class GalleryLightboxComponent implements OnDestroy {
window.scrollTo(window.scrollX, value);
}
private getPhotoFrameWidth() {
public getPhotoFrameWidth() {
return Math.max(window.innerWidth - this.infoPanelWidth, 0);
}
private getPhotoFrameHeight() {
public getPhotoFrameHeight() {
return window.innerHeight;
}