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
76a61dad
Unverified
Commit
76a61dad
authored
May 12, 2016
by
M. Porooshani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes issue-249, MenuView Won't receive touch if hidden anymore.
parent
a5d7594f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
Material.xcodeproj/project.pbxproj
+1
-1
Sources/iOS/MenuView.swift
+3
-0
No files found.
Material.xcodeproj/project.pbxproj
View file @
76a61dad
...
...
@@ -258,7 +258,7 @@
96BCB78B1CB40DC500C806FE
/* MaterialTransitionAnimation.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MaterialTransitionAnimation.swift
;
sourceTree
=
"<group>"
;
};
96BCB78C1CB40DC500C806FE
/* MaterialView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MaterialView.swift
;
sourceTree
=
"<group>"
;
};
96BCB78D1CB40DC500C806FE
/* Menu.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
Menu.swift
;
sourceTree
=
"<group>"
;
};
96BCB78E1CB40DC500C806FE
/* MenuView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MenuView.swift
;
sourceTree
=
"<group>"
;
};
96BCB78E1CB40DC500C806FE
/* MenuView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
indentWidth
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MenuView.swift
;
sourceTree
=
"<group>"
;
tabWidth
=
4
;
};
96BCB78F1CB40DC500C806FE
/* MenuViewController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MenuViewController.swift
;
sourceTree
=
"<group>"
;
};
96BCB7901CB40DC500C806FE
/* NavigationBar.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NavigationBar.swift
;
sourceTree
=
"<group>"
;
};
96BCB7911CB40DC500C806FE
/* NavigationController.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NavigationController.swift
;
sourceTree
=
"<group>"
;
};
...
...
Sources/iOS/MenuView.swift
View file @
76a61dad
...
...
@@ -87,6 +87,9 @@ public class MenuView : MaterialPulseView {
Since the subviews will be outside the bounds of this view,
we need to look at the subviews to see if we have a hit.
*/
guard
!
hidden
else
{
return
nil
}
for
v
in
subviews
{
let
p
:
CGPoint
=
v
.
convertPoint
(
point
,
fromView
:
self
)
if
CGRectContainsPoint
(
v
.
bounds
,
p
)
{
...
...
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