summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-14 18:38:10 +0100
committerubq323 <ubq323@ubq323.website>2024-04-14 18:38:34 +0100
commit1f8e6e98b924ee4661be2e7b75cf09a6a8bb7cd3 (patch)
tree057c24efd61e8d417199be70cdd487722c652f6c /server
parent047718ad845ee5850fe70316d7c1ac9dec10b6dd (diff)
change brush size and colour
Diffstat (limited to 'server')
-rw-r--r--server/main.ha4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main.ha b/server/main.ha
index 31cb6dc..71bb71b 100644
--- a/server/main.ha
+++ b/server/main.ha
@@ -195,8 +195,8 @@ fn handle_packet(
match (packet) {
case let op: packet_reader::packet_drawop =>
const opc = op as drawing::op_circle;
- fmt::printfln("#{}: drawop ({:+6},{:+6})",
- conn_idx,opc.0,opc.1)!;
+ fmt::printfln("#{}: drawop ({:+6},{:+6}) r{}",
+ conn_idx,opc.pos.0,opc.pos.1, opc.radius)!;
drawing::perform(state.pictures, opc);
for (let other_idx = 0z;
other_idx < len(state.connections);