Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
385b409f
Commit
385b409f
authored
Jun 27, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#12490 PDFのみ3Dの反応が悪い
parent
fbedcca7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
abvw/js/contentview.js
+3
-2
abvw/js/contentview_Events.js
+12
-8
abvw/js/contentview_General.js
+2
-0
No files found.
abvw/js/contentview.js
View file @
385b409f
...
...
@@ -3659,7 +3659,7 @@ function removeObject() {
/* View Component setDefaultEvent */
function
setDefaultEvent
()
{
//alert("setDefaultEvent"
);
_bTouchDeviceEnabled
=
isTouchDevice
(
);
var
canvasPre
=
document
.
getElementById
(
'mainPre'
);
var
canvasNext
=
document
.
getElementById
(
'mainNext'
);
...
...
@@ -3681,6 +3681,7 @@ function setDefaultEvent() {
document
.
getElementById
(
'divCheckExistMarking'
).
addEventListener
(
'click'
,
onClick_CanvasMain
,
false
);
if
(
avwUserEnvObj
.
os
!=
"ipad"
&&
avwUserEnvObj
.
os
!=
"android"
){
document
.
getElementById
(
'main'
).
addEventListener
(
'mousedown'
,
mouseDown_CanvasMain
,
false
);
document
.
getElementById
(
'main'
).
addEventListener
(
'mousemove'
,
mouseMove_canvasMain
,
false
);
document
.
getElementById
(
'main'
).
addEventListener
(
'mouseup'
,
mouseUp_CanvasMain
,
false
);
...
...
@@ -3688,7 +3689,7 @@ function setDefaultEvent() {
if
(
avwUserEnvObj
.
browser
==
'msie'
)
{
_bWin8TouchEnabled
=
window
.
navigator
.
msPointerEnabled
;
}
else
{
if
(
isTouchDevice
){
if
(
_bTouchDeviceEnabled
){
document
.
getElementById
(
'main'
).
addEventListener
(
'touchstart'
,
onTouchstart
,
false
);
document
.
getElementById
(
'main'
).
addEventListener
(
'touchmove'
,
onTouchmove
,
false
);
document
.
getElementById
(
'main'
).
addEventListener
(
'touchend'
,
onTouchend
,
false
);
...
...
abvw/js/contentview_Events.js
View file @
385b409f
...
...
@@ -1218,8 +1218,7 @@ function mouseDown_CanvasMain(event) {
};
function
mouseUp_CanvasMain
(
event
)
{
//Start Function : No.20
event
.
preventDefault
();
if
(
ClientData
.
IsAddingMarking
()
==
true
){
...
...
@@ -1368,7 +1367,7 @@ function resetNaviAction(){
function
onTouchstart
(
evt
){
evt
.
preventDefault
();
//
evt.preventDefault();
if
(
ClientData
.
IsAddingMarking
()
==
true
){
return
;
...
...
@@ -1379,9 +1378,9 @@ function onTouchstart(evt){
//if (avwUserEnvObj.os == "ipad" || avwUserEnvObj.os == "android") {
// evt.preventDefault();
//}
//if( isTouchDevice
){
//
evt.preventDefault();
//
}
if
(
_bTouchDeviceEnabled
){
evt
.
preventDefault
();
}
if
(
isLoadingObject
){
bContinue
=
false
;
...
...
@@ -1606,7 +1605,7 @@ var isPreventClick = false;
function
onTouchmove
(
evt
){
evt
.
preventDefault
();
//
evt.preventDefault();
if
(
ClientData
.
IsAddingMarking
()
==
true
){
return
;
...
...
@@ -1642,6 +1641,9 @@ function onTouchmove(evt){
//if (avwUserEnvObj.os == "ipad" || avwUserEnvObj.os == "android") {
// evt.preventDefault();
//}
if
(
_bTouchDeviceEnabled
){
evt
.
preventDefault
();
}
var
touch1
=
null
;
var
touch2
=
null
;
...
...
@@ -1884,7 +1886,9 @@ function onTouchmove(evt){
function
onTouchend
(
evt
){
evt
.
preventDefault
();
if
(
_bTouchDeviceEnabled
){
evt
.
preventDefault
();
}
if
(
ClientData
.
IsAddingMarking
()
==
true
){
return
;
...
...
abvw/js/contentview_General.js
View file @
385b409f
...
...
@@ -174,6 +174,8 @@ var _lastScaleDelta = 0;
var
_bWin8TouchEnabled
=
false
;
var
_bTransitionEnable
=
true
;
var
_bTouchDeviceEnabled
=
false
;
//End Function : No.20
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment