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
4e64b67f
Commit
4e64b67f
authored
Sep 26, 2015
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated to defaults
parent
3c9a67d4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Source/MaterialButton.swift
+1
-1
Source/MaterialTheme.swift
+1
-1
Source/MaterialView.swift
+1
-1
No files found.
Source/MaterialButton.swift
View file @
4e64b67f
...
@@ -45,7 +45,7 @@ public class MaterialButton : UIButton {
...
@@ -45,7 +45,7 @@ public class MaterialButton : UIButton {
*/
*/
public
var
y
:
CGFloat
!
{
public
var
y
:
CGFloat
!
{
didSet
{
didSet
{
layer
.
bounds
.
origin
=
CGPointMake
(
x
,
y
)
layer
.
bounds
.
origin
.
y
=
y
}
}
}
}
...
...
Source/MaterialTheme.swift
View file @
4e64b67f
...
@@ -38,7 +38,7 @@ public extension MaterialTheme.view {
...
@@ -38,7 +38,7 @@ public extension MaterialTheme.view {
// shadow
// shadow
public
static
let
shadowDepth
:
MaterialShadow
=
.
Depth0
public
static
let
shadowDepth
:
MaterialShadow
=
.
Depth0
public
static
let
shadowColor
:
UIColor
=
MaterialColor
.
bl
ueGrey
.
darken4
public
static
let
shadowColor
:
UIColor
=
MaterialColor
.
bl
ack
// shape
// shape
public
static
let
masksToBounds
:
Bool
=
false
public
static
let
masksToBounds
:
Bool
=
false
...
...
Source/MaterialView.swift
View file @
4e64b67f
...
@@ -90,7 +90,7 @@ public class MaterialView: UIView {
...
@@ -90,7 +90,7 @@ public class MaterialView: UIView {
*/
*/
public
var
y
:
CGFloat
!
{
public
var
y
:
CGFloat
!
{
didSet
{
didSet
{
layer
.
bounds
.
origin
=
CGPointMake
(
x
,
y
)
layer
.
bounds
.
origin
.
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