Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-client-macos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-client-macos
Commits
cd027889
Commit
cd027889
authored
4 years ago
by
Kateryna Kostiuk
Browse files
Options
Downloads
Patches
Plain Diff
conference: change layout on click
Change-Id: I5827b88161fb6e52c70e1c2ccea540e18bce6d2f
parent
7395f7fc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/views/ConferenceOverlayView.mm
+14
-0
14 additions, 0 deletions
src/views/ConferenceOverlayView.mm
with
14 additions
and
0 deletions
src/views/ConferenceOverlayView.mm
+
14
−
0
View file @
cd027889
...
...
@@ -189,6 +189,20 @@ CGFloat const controlSize = 40;
[
super
mouseExited
:
theEvent
];
}
-
(
void
)
mouseUp
:(
NSEvent
*
)
theEvent
{
[
super
mouseUp
:
theEvent
];
if
([
theEvent
clickCount
]
==
1
)
{
[
self
performSelector
:
@selector
(
singleTap
)
withObject
:
nil
afterDelay
:
[
NSEvent
doubleClickInterval
]];
}
else
if
(
theEvent
.
clickCount
==
2
)
{
[
NSObject
cancelPreviousPerformRequestsWithTarget
:
self
selector
:
@selector
(
singleTap
)
object
:
nil
];
}
}
-
(
void
)
singleTap
{
[
self
.
delegate
maximizeParticipant
:
self
.
participant
.
uri
active
:
self
.
participant
.
active
];
}
-
(
void
)
ensureTrackingArea
{
if
(
trackingArea
==
nil
)
{
trackingArea
=
[[
NSTrackingArea
alloc
]
initWithRect
:
NSZeroRect
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment