mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 04:31:34 +08:00
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:
parent
c2fef9d377
commit
79f8293a0d
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user