Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
xffruit
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
xffruit
Commits
efffd68d
Commit
efffd68d
authored
9 years ago
by
管鹏飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
真的改了『填写行情反馈』图片预览界面的第一张图位置错误的bug Sandy
parent
8fe71f9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
HGPhotoWall.m
...Controllers/FeedBack/TakePhotos/HGPhotoWall/HGPhotoWall.m
+5
-2
No files found.
XFFruit/ViewControllers/FeedBack/TakePhotos/HGPhotoWall/HGPhotoWall.m
View file @
efffd68d
...
...
@@ -277,10 +277,13 @@
NSDictionary
*
dictionaryTemp
=
[
self
.
arrayPositions
objectAtIndex
:
i
];
CGFloat
originx
=
[[
dictionaryTemp
objectForKey
:
kImagePositionx
]
floatValue
];
CGFloat
originy
=
[[
dictionaryTemp
objectForKey
:
kImagePositiony
]
floatValue
];
//修正第一个图片位置错误
if
(
i
==
0
)
{
originy
-=
5
;
if
(
i
==
0
&&
count
>
1
)
{
NSDictionary
*
dictionaryTemp
=
[
self
.
arrayPositions
objectAtIndex
:
1
];
originy
=
[[
dictionaryTemp
objectForKey
:
kImagePositiony
]
floatValue
];
}
HGPhoto
*
photoTemp
=
[
self
.
arrayPhotos
objectAtIndex
:
i
];
[
photoTemp
moveToPosition
:
CGPointMake
(
originx
,
originy
)];
NSLog
(
@"x=%f,y=%f"
,
originx
,
originy
);
...
...
This diff is collapsed.
Click to expand it.
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