Skip to content

Commit

Permalink
Build unbreakage...
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherCommander committed Jul 5, 2017
1 parent 3fa8620 commit 156f7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/GuiDisplayGen.m
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,7 @@ - (void) drawGLDisplay:(GLfloat)x :(GLfloat)y :(GLfloat)z :(GLfloat) alpha
{
NSRect block = OORectFromString(text, x + rowPosition[i].x + 2, y + rowPosition[i].y + 2, characterSize);
OOStopDrawingStrings();
[self setGLColorFromSetting:kGuiTextInputCursorColor defaultValue:[OOColor redColor] alpha:row_alpha[i]*g_alpha];
[self setGLColorFromSetting:kGuiSelectedRowBackgroundColor defaultValue:[OOColor redColor] alpha:alpha];
OOGLBEGIN(GL_QUADS);
glVertex3f(block.origin.x, block.origin.y, z);
glVertex3f(block.origin.x + block.size.width, block.origin.y, z);
Expand All @@ -1544,7 +1544,7 @@ - (void) drawGLDisplay:(GLfloat)x :(GLfloat)y :(GLfloat)z :(GLfloat) alpha
tr.size.width = 0.5f * characterSize.width;
GLfloat g_alpha = 0.5f * (1.0f + (float)sin(6 * [UNIVERSE getTime]));
OOStopDrawingStrings();
[self setGLColorFromSetting:kGuiTextInputCursorColor defaultValue:[OOColor redColor] alpha:row_alpha*g_alpha];
[self setGLColorFromSetting:kGuiTextInputCursorColor defaultValue:[OOColor redColor] alpha:row_alpha[i]*g_alpha];
OOGLBEGIN(GL_QUADS);
glVertex3f(tr.origin.x, tr.origin.y, z);
glVertex3f(tr.origin.x + tr.size.width, tr.origin.y, z);
Expand Down

0 comments on commit 156f7b4

Please sign in to comment.