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:
parent
a0985bebe6
commit
663f4edc39
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user