macosx: do not draw gradients into empty paths
Drawing an NSGradient into an empty bezier path causes an exception, crashing the application.
Showing
- modules/gui/macosx/views/VLCBottomBarView.m 12 additions, 6 deletionsmodules/gui/macosx/views/VLCBottomBarView.m
- modules/gui/macosx/views/VLCSliderCell.m 4 additions, 1 deletionmodules/gui/macosx/views/VLCSliderCell.m
- modules/gui/macosx/views/VLCVolumeSliderCell.m 10 additions, 4 deletionsmodules/gui/macosx/views/VLCVolumeSliderCell.m
Loading