Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
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
Dmitriy Stepanets
Material
Commits
321d15fb
Unverified
Commit
321d15fb
authored
Oct 29, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
development: progression commit for CaptureController
parent
baa54bba
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
3 deletions
+5
-3
Material.xcodeproj/project.pbxproj
+1
-1
Sources/iOS/Capture/Capture.swift
+0
-0
Sources/iOS/Capture/CaptureController.swift
+0
-0
Sources/iOS/StatusBarController.swift
+3
-1
Sources/iOS/ToolbarController.swift
+1
-1
No files found.
Material.xcodeproj/project.pbxproj
View file @
321d15fb
...
...
@@ -519,9 +519,9 @@
isa
=
PBXGroup
;
children
=
(
96717B0D1DBE6AF600DA84DB
/* Capture.swift */
,
96717B0E1DBE6AF600DA84DB
/* CaptureController.swift */
,
96717B0F1DBE6AF600DA84DB
/* CapturePreview.swift */
,
96717B101DBE6AF600DA84DB
/* CaptureSession.swift */
,
96717B0E1DBE6AF600DA84DB
/* CaptureController.swift */
,
);
path
=
Capture
;
sourceTree
=
"<group>"
;
...
...
Sources/iOS/Capture/Capture.swift
View file @
321d15fb
This diff is collapsed.
Click to expand it.
Sources/iOS/Capture/CaptureController.swift
View file @
321d15fb
This diff is collapsed.
Click to expand it.
Sources/iOS/StatusBarController.swift
View file @
321d15fb
...
...
@@ -59,6 +59,7 @@ open class StatusBarController: RootController {
*/
open
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
statusBar
.
width
=
view
.
width
statusBar
.
zPosition
=
Device
.
isLandscape
&&
.
phone
==
Device
.
userInterfaceIdiom
?
0
:
3000
rootViewController
.
view
.
frame
=
view
.
bounds
}
...
...
@@ -78,6 +79,7 @@ open class StatusBarController: RootController {
/// Prepares the statusBar.
private
func
prepareStatusBar
()
{
statusBar
.
backgroundColor
=
.
white
view
.
layout
(
statusBar
)
.
top
()
.
horizontally
()
.
height
(
20
)
statusBar
.
height
=
20
view
.
addSubview
(
statusBar
)
}
}
Sources/iOS/ToolbarController.swift
View file @
321d15fb
...
...
@@ -173,7 +173,7 @@ open class ToolbarController: StatusBarController {
super
.
layoutSubviews
()
statusBar
.
layoutIfNeeded
()
let
y
=
0
==
statusBar
.
zPosition
?
0
:
statusBar
.
height
let
y
=
0
==
statusBar
.
zPosition
||
statusBar
.
isHidden
?
0
:
statusBar
.
height
let
p
=
y
+
toolbar
.
height
toolbar
.
y
=
y
...
...
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