@@ -1963,30 +1963,30 @@ void HistoryWidget::setupShortcuts() {
1963
1963
controller ()->searchInChat (_history);
1964
1964
return true ;
1965
1965
});
1966
- request->check (Command::ChatScrollUp) && request->handle ([=] {
1967
- return touchScroll ({ 0 , _scroll->height () / 10 });
1968
- });
1969
- request->check (Command::ChatScrollDown) && request->handle ([=] {
1970
- return touchScroll ({ 0 , -_scroll->height () / 10 });
1971
- });
1972
- request->check (Command::ChatScrollScreenUp) && request->handle ([=] {
1973
- return touchScroll ({ 0 , _scroll->height () });
1974
- });
1975
- request->check (Command::ChatScrollScreenDown) && request->handle ([=] {
1976
- return touchScroll ({ 0 , -_scroll->height () });
1977
- });
1978
- request->check (Command::ChatScrollHalfScreenUp) && request->handle ([=] {
1979
- return touchScroll ({ 0 , _scroll->height () / 2 });
1980
- });
1981
- request->check (Command::ChatScrollHalfScreenDown) && request->handle ([=] {
1982
- return touchScroll ({ 0 , -_scroll->height () / 2 });
1983
- });
1984
- request->check (Command::ChatScrollTop) && request->handle ([=] {
1985
- return touchScroll ({ 0 , _scroll->scrollTopMax () });
1986
- });
1987
- request->check (Command::ChatScrollBottom) && request->handle ([=] {
1988
- return touchScroll ({ 0 , -_scroll->scrollTopMax () });
1989
- });
1966
+ request->check (Command::ChatScrollUp) && request->handle ([=] {
1967
+ return touchScroll ({ 0 , _scroll->height () / 10 });
1968
+ });
1969
+ request->check (Command::ChatScrollDown) && request->handle ([=] {
1970
+ return touchScroll ({ 0 , -_scroll->height () / 10 });
1971
+ });
1972
+ request->check (Command::ChatScrollScreenUp) && request->handle ([=] {
1973
+ return touchScroll ({ 0 , _scroll->height () });
1974
+ });
1975
+ request->check (Command::ChatScrollScreenDown) && request->handle ([=] {
1976
+ return touchScroll ({ 0 , -_scroll->height () });
1977
+ });
1978
+ request->check (Command::ChatScrollHalfScreenUp) && request->handle ([=] {
1979
+ return touchScroll ({ 0 , _scroll->height () / 2 });
1980
+ });
1981
+ request->check (Command::ChatScrollHalfScreenDown) && request->handle ([=] {
1982
+ return touchScroll ({ 0 , -_scroll->height () / 2 });
1983
+ });
1984
+ request->check (Command::ChatScrollTop) && request->handle ([=] {
1985
+ return touchScroll ({ 0 , _scroll->scrollTopMax () });
1986
+ });
1987
+ request->check (Command::ChatScrollBottom) && request->handle ([=] {
1988
+ return touchScroll ({ 0 , -_scroll->scrollTopMax () });
1989
+ });
1990
1990
_canSendMessages
1991
1991
&& request->check (Command::ShowScheduled, 1 )
1992
1992
&& request->handle ([=] {
0 commit comments