[haiku-commits] Re: haiku: hrev43430 - src/apps/workspaces

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 07 Dec 2011 09:08:12 +0100

On 07.12.2011 01:26, revol@xxxxxxx wrote:
+       // ╔═╤═╕ A Deskbar replicant can be 16px tall and 129px wide at most.
+       // ║ │ │ We use 1px for the top and left borders (shown as double)
+       // ╟─┼─┤ and divide the remainder equally. However, we keep in mind
+       // ║ │ │ that the actual width and height of each workspace is smaller
+       // ╙─┴─┘ by 1px, because of bottom/right borders (shown as single).
+       // When calculating workspace width, we must ensure that the assumed
+       // actual workspace height is not negative. Zero is OK.

While its a neat graphics, it's completely superfluous, like most of the comment. This should be expressed more briefly.

Bye,
   Axel.


Other related posts: