Fix "Please remove the slight transparency from menu windows on macOS" (#1373)
Backported from commit e931c21 to
This commit is contained in:
parent
0e65bbfd2e
commit
6053c3b47a
@ -3249,9 +3249,6 @@ void Fl_Cocoa_Window_Driver::makeWindow()
|
|||||||
this->x(round(crect.origin.x/s));
|
this->x(round(crect.origin.x/s));
|
||||||
this->y( round((main_screen_height - crect.origin.y)/s) - w->h() );
|
this->y( round((main_screen_height - crect.origin.y)/s) - w->h() );
|
||||||
}
|
}
|
||||||
if(w->menu_window()) { // make menu windows slightly transparent
|
|
||||||
[cw setAlphaValue:0.97];
|
|
||||||
}
|
|
||||||
// Install DnD handlers
|
// Install DnD handlers
|
||||||
[myview registerForDraggedTypes:[NSArray arrayWithObjects:UTF8_pasteboard_type,
|
[myview registerForDraggedTypes:[NSArray arrayWithObjects:UTF8_pasteboard_type,
|
||||||
fl_filenames_pboard_type, nil]];
|
fl_filenames_pboard_type, nil]];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user