@@ -8,8 +8,8 @@ function executeViewImageCutSwitch() {
8
8
var indexes = thumbnailModel . selectedIndexes
9
9
if ( indexes . length > 0 ) {
10
10
var url = thumbnailModel . data ( indexes [ 0 ] , "url" ) . toString ( )
11
- var allUrls = thumbnailModel . allUrls ( )
12
- menuItemStates . executeViewImageCutSwitch ( url , allUrls )
11
+ var allPicUrls = thumbnailModel . allPictureUrls ( )
12
+ menuItemStates . executeViewImageCutSwitch ( url , allPicUrls )
13
13
}
14
14
}
15
15
}
@@ -20,12 +20,13 @@ function executeViewImage(x, y, w, h) {
20
20
var indexes = thumbnailModel . selectedIndexes
21
21
if ( indexes . length > 0 ) {
22
22
var url = thumbnailModel . data ( indexes [ 0 ] , "url" ) . toString ( )
23
- var allUrls = thumbnailModel . allUrls ( )
24
23
if ( FileControl . isVideo ( url ) ) {
24
+ var allUrls = thumbnailModel . allUrls ( )
25
25
menuItemStates . executeViewImageCutSwitch ( url , allUrls )
26
26
} else {
27
+ var allPicUrls = thumbnailModel . allPictureUrls ( )
27
28
GStatus . enteringImageViewer = true
28
- menuItemStates . executeViewImageCutSwitch ( url , allUrls )
29
+ menuItemStates . executeViewImageCutSwitch ( url , allPicUrls )
29
30
GStatus . sigMoveCenter ( x , y , w , h )
30
31
GStatus . sigShowToolBar ( )
31
32
}
@@ -47,7 +48,7 @@ function executeDelete() {
47
48
// 执行全屏预览
48
49
function executeFullScreen ( ) {
49
50
if ( window . visibility !== Window . FullScreen && selectedUrls . length > 0 ) {
50
- var allUrls = thumbnailModel . allUrls ( )
51
+ var allUrls = thumbnailModel . allPictureUrls ( )
51
52
var indexes = thumbnailModel . selectedIndexes
52
53
if ( indexes . length > 0 ) {
53
54
menuItemStates . executeFullScreen ( allUrls [ indexes [ 0 ] ] , allUrls )
@@ -63,7 +64,7 @@ function executePrint() {
63
64
// 执行幻灯片放映
64
65
function excuteSlideShow ( ) {
65
66
if ( selectedUrls . length > 0 ) {
66
- var allUrls = thumbnailModel . allUrls ( )
67
+ var allUrls = thumbnailModel . allPictureUrls ( )
67
68
menuItemStates . excuteSlideShow ( allUrls )
68
69
//stackControl.startMainSliderShow(allUrls, allUrls.indexOf(selectedUrls[0]))
69
70
}
0 commit comments