Skip to content
Snippets Groups Projects
Commit 5699e9cf authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Draw the shadow if the API bgcolor is blue

WIN_INACT was not getting a border because it changes the value
of bclr which is explicitly compared with BLUE to detect if a
shadow should be drawn.

Instead, draw a shadow any time it would normally be drawn.
parent 36b2508f
No related branches found
No related tags found
No related merge requests found
......@@ -1003,7 +1003,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
if(!(mode&WIN_NOBRDR)) {
/* Shadow */
if(bclr==BLUE) {
if(api->bclr==BLUE) {
vmem_gettext(s_left+left+width,s_top+top+1,s_left+left+width+1
,s_top+top+height-1,shade);
for(i=0;i<height*2;i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment