mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-27 09:12:32 +00:00
!482 【master】【OpenHarmony 4.1.2.2】【应用子系统】【ToC】【RK3568】【高概率-2/10】大图浏览沉浸模式,放大图片后复原回原尺寸,图片无法下拉返回
Merge pull request !482 from liujuan/master
This commit is contained in:
commit
6baf22e63e
@ -144,15 +144,11 @@ export struct PhotoSwiper {
|
||||
.cachedCount(this.SWIPE_CACHE_COUNT)
|
||||
.duration(BrowserConstants.PHOTO_SWIPE_DURATION)
|
||||
.itemSpace(this.swiperItemSpace)
|
||||
.parallelGesture(PanGesture({
|
||||
direction: PanDirection.Horizontal
|
||||
.onGestureSwipe(() => {
|
||||
if (!this.isOnSwiperAnimation) {
|
||||
this.isOnSwiperAnimation = true;
|
||||
}
|
||||
})
|
||||
.onActionStart((event?: GestureEvent) => {
|
||||
if (!this.canSwipe) {
|
||||
this.isOnSwiperAnimation = true;
|
||||
}
|
||||
})
|
||||
)
|
||||
.index(this.currentIndex)
|
||||
.indicator(false)
|
||||
.loop(false)
|
||||
|
Loading…
Reference in New Issue
Block a user