pull down to refresh

It's not bad, but determining when to flip is nontrivial

234 sats \ 1 reply \ @0xbitcoiner 13h

Three ways to go:

  • always rotate;
  • Trigger it only when there’s more than X outputs;
  • Run it when the text overflows the top bar—that’s the best call, but it’s complex (It is necessary to calculate the length of the string.);
  • Always keep it at 45 degrees;

reply
21 sats \ 0 replies \ @k00b OP 13h

Thanks. I'll try to remember this next time I'm in that code.

reply