Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
7b28d2e7
Commit
7b28d2e7
authored
Aug 25, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed drawing issue when expanding the main window after collapsing
Inspired by
efbad059
parent
ad0e05bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+9
-9
No files found.
modules/gui/macosx/MainWindow.m
View file @
7b28d2e7
...
...
@@ -719,23 +719,23 @@ static VLCMainWindow *_o_sharedInstance = nil;
-
(
void
)
resizePlaylistAfterCollapse
{
id
o_playlist_viewitem
;
if
(
OSX_LEOPARD
)
o_playlist_viewitem
=
o_playlist_table
;
else
o_playlist_viewitem
=
[
o_playlist_table
animator
];
NSRect
plrect
;
plrect
=
[
o_playlist_table
frame
];
plrect
.
size
.
height
=
i_lastSplitViewHeight
-
19
.
0
;
// actual pl top bar height, which differs from its frame
[
o_playlist_viewitem
setFrame
:
plrect
];
plrect
.
size
.
height
=
i_lastSplitViewHeight
-
20
.;
// actual pl top bar height, which differs from its frame
if
(
OSX_LEOPARD
)
[
o_playlist_table
setFrame
:
plrect
];
else
[[
o_playlist_table
animator
]
setFrame
:
plrect
];
NSRect
rightSplitRect
;
rightSplitRect
=
[
o_right_split_view
frame
];
plrect
=
[
o_dropzone_box
frame
];
plrect
.
origin
.
x
=
(
rightSplitRect
.
size
.
width
-
plrect
.
size
.
width
)
/
2
;
plrect
.
origin
.
y
=
(
rightSplitRect
.
size
.
height
-
plrect
.
size
.
height
)
/
2
;
[
o_playlist_viewitem
setFrame
:
plrect
];
if
(
OSX_LEOPARD
)
[
o_dropzone_box
setFrame
:
plrect
];
else
[[
o_dropzone_box
animator
]
setFrame
:
plrect
];
}
-
(
void
)
makeSplitViewVisible
...
...
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