Skip to content

Commit

Permalink
Make the IBeam pointer 1 pixel wide
Browse files Browse the repository at this point in the history
  • Loading branch information
siecvi committed Apr 7, 2024
1 parent becebf2 commit 92dfb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Scripts/Gui/UIFramework/Field.as
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ namespace spades {
void DrawBeam(Renderer@ r, float x, float y, float h) {
float pulse = float((int(Manager.Time * 2.0F)) & 1);
r.ColorNP = Vector4(1.0F, 1.0F, 1.0F, pulse);
r.DrawImage(null, AABB2(x - 1.0F, y, 2.0F, h));
r.DrawImage(null, AABB2(x, y, 1.0F, h));
}

void DrawEditingLine(Renderer@ r, float x, float y, float w, float h) {
Expand Down

0 comments on commit 92dfb38

Please sign in to comment.