Fix Canvas documentation.

The braille characters can fit 2x4 dots per cells, not 2x8.

Bug:https://github.com/ArthurSonzogni/FTXUI/issues/694
This commit is contained in:
ArthurSonzogni 2023-07-03 21:10:47 +02:00
parent c2fef9d377
commit 79f8293a0d
No known key found for this signature in database
GPG Key ID: 41D98248C074CD6C

View File

@ -79,8 +79,8 @@ constexpr auto nostyle = [](Pixel& /*pixel*/) {};
} // namespace
/// @brief Constructor.
/// @param width the width of the canvas. A cell is a 2x8 braille dot.
/// @param height the height of the canvas. A cell is a 2x8 braille dot.
/// @param width the width of the canvas. A cell is a 2x4 braille dot.
/// @param height the height of the canvas. A cell is a 2x4 braille dot.
Canvas::Canvas(int width, int height)
: width_(width),
height_(height),