Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_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_android
abook_check
Commits
479d019d
Commit
479d019d
authored
Feb 27, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
作業コードが更新できない問題・作業登録ホットスポットでドラッグ&ドロップの修正
parent
ff95d636
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/ProjectLogic.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ZoomRelativeLayout.java
+3
-2
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/ProjectLogic.java
View file @
479d019d
...
...
@@ -316,7 +316,7 @@ public class ProjectLogic extends AbstractLogic {
if
(!
newValue
.
equals
(
taskDirectionsItemsDto
.
inputValue
))
{
// 値が異なる場合のみ、更新する
taskDirectionsItemsDto
.
inputValue
=
newValue
;
if
(
taskDirectionsItemsDto
.
i
nputValue
.
startsWith
(
"q_1_"
))
{
if
(
taskDirectionsItemsDto
.
i
temKey
.
startsWith
(
"q_1_"
))
{
// 値が異なるため、作業コードの入力値を変更する
taskDto
.
taskCode
=
taskDirectionsItemsDto
.
inputValue
;
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ZoomRelativeLayout.java
View file @
479d019d
...
...
@@ -92,7 +92,7 @@ public class ZoomRelativeLayout extends RelativeLayout {
@Override
public
boolean
onDrag
(
View
v
,
DragEvent
event
)
{
View
view
=
(
View
)
event
.
getLocalState
();
if
(
view
instanceof
ActionProjectTaskCode
||
view
instanceof
ActionProjectTaskPin
)
{
switch
(
event
.
getAction
())
{
case
DragEvent
.
ACTION_DRAG_STARTED
:
//理由不明、イベントが二回くる、二回目でgetX()だけがマイナス
...
...
@@ -146,7 +146,9 @@ public class ZoomRelativeLayout extends RelativeLayout {
// 座標を更新する
((
ContentViewActivity
)
mContext
).
updateProjectTaskPosition
(
pdfPoint
.
x
,
pdfPoint
.
y
);
if
(
view
instanceof
ActionProjectTaskCode
||
view
instanceof
ActionProjectTaskPin
)
{
((
ContentViewActivity
)
mContext
).
updateProjectTaskPosition
();
}
if
(
view
.
getVisibility
()
==
View
.
INVISIBLE
)
{
view
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -157,7 +159,6 @@ public class ZoomRelativeLayout extends RelativeLayout {
default
:
break
;
}
}
return
true
;
}
}
...
...
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