mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
UI: Hide Alpha channel field from the color picker
Do not allow the user to select the alpha component of a color.
This commit is contained in:
1 parent
131cfaf4f8
commit
7bbd45f8d0
1 file changed
+1
-2
@@ -1675,8 +1675,7 @@ bool WidgetInfo::ColorChanged(const char *setting)
|
||||
long long val = obs_data_get_int(view->settings, setting);
|
||||
QColor color = color_from_int(val);
|
||||
|
||||
QColorDialog::ColorDialogOptions options =
|
||||
QColorDialog::ShowAlphaChannel;
|
||||
QColorDialog::ColorDialogOptions options = 0;
|
||||
|
||||
/* The native dialog on OSX has all kinds of problems, like closing
|
||||
* other open QDialogs on exit, and
|
||||
|
||||
Reference in new issue
Block a user