1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-10-01 00:10:47 +00:00
CC-Tweaked/projects
Jonathan Coates ab785a0906
Fix monitors being warped after a resize
Oh, this was a really nasty bug to reproduce. I'm not sure why - it's
very simple - I guess I've only just seen screenshots of it, and never
sat down to try myself. Reminder to actually report your bugs folks!

In this case:

 1. Place down three down three monitors and then a computer.
 2. Display something on the monitor (monitor left paint a) is my go-to.
 3. Break the middle monitor.

We'd expect the left most monitor to be cleared, however it actually
preserves the monitor contents, resizing (and skewing it) to fit on its
new size!

This is because we clear the server monitor, but never sync that over to
the client, so the client monitor retains the old contents. To fix that,
instead of nulling out the server monitor, we null out the underlying
Terminal. This causes the change to be synced, fixing the bug.
2023-10-03 18:20:44 +01:00
..
common Fix monitors being warped after a resize 2023-10-03 18:20:44 +01:00
common-api Add a tag for blocks wired modems should ignore 2023-09-11 21:29:17 +01:00
core Fix canvas not always being redrawn on term resize 2023-10-03 18:18:33 +01:00
core-api Build a web-based emulator for the documentation site (#1597) 2023-10-03 09:19:19 +01:00
fabric Try to make recipe serialisers more reusable 2023-09-23 18:24:02 +01:00
fabric-api Publish Fabric jars to CF/Modrinth 2023-03-15 23:20:13 +00:00
forge Try to make recipe serialisers more reusable 2023-09-23 18:24:02 +01:00
forge-api License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00
lints Flesh out MemoryMount into a writable mount 2023-09-29 22:15:23 +01:00
web Build a web-based emulator for the documentation site (#1597) 2023-10-03 09:19:19 +01:00
ARCHITECTURE.md License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00