diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-29 13:40:54 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-29 13:41:35 +0300 |
commit | f9117532955f0d8935971eb1053f13f9ecab7662 (patch) | |
tree | 843914f355dc8da3cadaa6bd450075c7dc501054 /src/ui/documentwidget.c | |
parent | 6074a467110bfb4e40c3e659cc674d7bbaa82d5a (diff) |
Preferences: Collapse preformatted blocks on page load
IssueID #180
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 5d85e275..3b5ddb7c 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -2506,6 +2506,9 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
2506 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_HAND); | 2506 | setCursor_Window(get_Window(), SDL_SYSTEM_CURSOR_HAND); |
2507 | } | 2507 | } |
2508 | else { | 2508 | else { |
2509 | if (value_Anim(&d->altTextOpacity) < 0.667f) { | ||
2510 | setValue_Anim(&d->altTextOpacity, 0, 0); /* keep it hidden while moving */ | ||
2511 | } | ||
2509 | updateHover_DocumentWidget_(d, mpos); | 2512 | updateHover_DocumentWidget_(d, mpos); |
2510 | } | 2513 | } |
2511 | } | 2514 | } |