mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 07:10:43 -04:00
Fix console scroll - comment on how scrolling works (#1448)
* Force console scroll area to be multiple of line height. Tons of comments. * Resize POCSAG console to fill height. * Make scoll behavior comment clearer
This commit is contained in:
parent
af424aa5f8
commit
537cf2e79b
6 changed files with 101 additions and 44 deletions
|
@ -332,8 +332,8 @@ class Console : public Widget {
|
|||
void on_hide() override;
|
||||
|
||||
private:
|
||||
// bool visible = false;
|
||||
Point pos{0, 0};
|
||||
Dim scroll_height = 0;
|
||||
std::string buffer{};
|
||||
static bool scrolling_enabled;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue