Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
CreatureChat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Public
CreatureChat
Commits
7981695e
Commit
7981695e
authored
Apr 04, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing dark background from chat screen.
parent
a9b3f481
Pipeline
#11937
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
ChatScreen.java
src/client/java/com/owlmaddie/ChatScreen.java
+0
-3
No files found.
src/client/java/com/owlmaddie/ChatScreen.java
View file @
7981695e
...
@@ -83,9 +83,6 @@ public class ChatScreen extends Screen {
...
@@ -83,9 +83,6 @@ public class ChatScreen extends Screen {
@Override
@Override
public
void
render
(
DrawContext
context
,
int
mouseX
,
int
mouseY
,
float
delta
)
{
public
void
render
(
DrawContext
context
,
int
mouseX
,
int
mouseY
,
float
delta
)
{
// Render the background
this
.
renderBackground
(
context
,
mouseX
,
mouseY
,
delta
);
// Render the label text above the text field
// Render the label text above the text field
int
labelWidth
=
textRenderer
.
getWidth
(
labelText
);
int
labelWidth
=
textRenderer
.
getWidth
(
labelText
);
int
labelX
=
(
this
.
width
-
labelWidth
)
/
2
;
// Centered X position
int
labelX
=
(
this
.
width
-
labelWidth
)
/
2
;
// Centered X position
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment