diff --git a/CHANGELOG.md b/CHANGELOG.md index 135b434b..c045f98e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ Version counting is based on semantic versioning (Major.Feature.Patch) ## WIP +### YACReader +* Add setting to disable scroll animations and scroll smoothing, recommended if you are using a touch pad or if you find the mouse wheel behaviour laggy. + ### YACReaderLibrary * Fix "Set type" context menu the grid view for folders. * Add a different versioning strategy for databases. DBs version will change only when the structure changes and not when YACReader version changes. diff --git a/YACReader/configuration.h b/YACReader/configuration.h index 3c4649ea..03d9de46 100644 --- a/YACReader/configuration.h +++ b/YACReader/configuration.h @@ -81,6 +81,8 @@ public: bool getDisableShowOnMouseOver() { return settings->value(DISABLE_MOUSE_OVER_GOTO_FLOW).toBool(); } bool getDoNotTurnPageOnScroll() { return settings->value(DO_NOT_TURN_PAGE_ON_SCROLL, false).toBool(); } bool getUseSingleScrollStepToTurnPage() { return settings->value(USE_SINGLE_SCROLL_STEP_TO_TURN_PAGE, false).toBool(); } + void setDisableScrollAnimation(bool b) { settings->setValue(DISABLE_SCROLL_ANIMATION, b); } + bool getDisableScrollAnimation() { return settings->value(DISABLE_SCROLL_ANIMATION, false).toBool(); } }; #endif diff --git a/YACReader/options_dialog.cpp b/YACReader/options_dialog.cpp index 1acb1a68..5d006a6a 100644 --- a/YACReader/options_dialog.cpp +++ b/YACReader/options_dialog.cpp @@ -71,9 +71,11 @@ OptionsDialog::OptionsDialog(QWidget *parent) auto scrollBox = new QGroupBox(tr("Scroll behaviour")); auto scrollLayout = new QVBoxLayout; + disableScrollAnimations = new QCheckBox(tr("Disable scroll animations and smooth scrolling")); doNotTurnPageOnScroll = new QCheckBox(tr("Do not turn page using scroll")); useSingleScrollStepToTurnPage = new QCheckBox(tr("Use single scroll step to turn page")); + scrollLayout->addWidget(disableScrollAnimations); scrollLayout->addWidget(doNotTurnPageOnScroll); scrollLayout->addWidget(useSingleScrollStepToTurnPage); @@ -242,6 +244,7 @@ void OptionsDialog::saveOptions() settings->setValue(DO_NOT_TURN_PAGE_ON_SCROLL, doNotTurnPageOnScroll->isChecked()); settings->setValue(USE_SINGLE_SCROLL_STEP_TO_TURN_PAGE, useSingleScrollStepToTurnPage->isChecked()); + settings->setValue(DISABLE_SCROLL_ANIMATION, disableScrollAnimations->isChecked()); YACReaderOptionsDialog::saveOptions(); } @@ -283,6 +286,7 @@ void OptionsDialog::restoreOptions(QSettings *settings) doNotTurnPageOnScroll->setChecked(settings->value(DO_NOT_TURN_PAGE_ON_SCROLL, false).toBool()); useSingleScrollStepToTurnPage->setChecked(settings->value(USE_SINGLE_SCROLL_STEP_TO_TURN_PAGE, false).toBool()); + disableScrollAnimations->setChecked(settings->value(DISABLE_SCROLL_ANIMATION, false).toBool()); } void OptionsDialog::updateColor(const QColor &color) diff --git a/YACReader/options_dialog.h b/YACReader/options_dialog.h index c5906630..db1e858c 100644 --- a/YACReader/options_dialog.h +++ b/YACReader/options_dialog.h @@ -42,6 +42,7 @@ private: QCheckBox *doNotTurnPageOnScroll; QCheckBox *useSingleScrollStepToTurnPage; + QCheckBox *disableScrollAnimations; YACReaderSpinSliderWidget *brightnessS; diff --git a/YACReader/viewer.cpp b/YACReader/viewer.cpp index d8d56582..58973bcf 100644 --- a/YACReader/viewer.cpp +++ b/YACReader/viewer.cpp @@ -445,7 +445,7 @@ void Viewer::scrollDown() next(); } else { int currentPos = verticalScrollBar()->sliderPosition(); - verticalScroller->setDuration(250); + verticalScroller->setDuration(animationDuration()); verticalScroller->setStartValue(currentPos); verticalScroller->setEndValue(nextPos); @@ -461,7 +461,7 @@ void Viewer::scrollUp() prev(); } else { int currentPos = verticalScrollBar()->sliderPosition(); - verticalScroller->setDuration(250); + verticalScroller->setDuration(animationDuration()); verticalScroller->setStartValue(currentPos); verticalScroller->setEndValue(nextPos); @@ -604,16 +604,25 @@ void Viewer::scrollTo(int x, int y) { if (groupScroller->state() == QAbstractAnimation::Running) return; - horizontalScroller->setDuration(250); + horizontalScroller->setDuration(animationDuration()); horizontalScroller->setStartValue(horizontalScrollBar()->sliderPosition()); horizontalScroller->setEndValue(x); - verticalScroller->setDuration(250); + verticalScroller->setDuration(animationDuration()); verticalScroller->setStartValue(verticalScrollBar()->sliderPosition()); verticalScroller->setEndValue(y); groupScroller->start(); emit backgroundChanges(); } +int Viewer::animationDuration() const +{ + if (Configuration::getConfiguration().getDisableScrollAnimation()) { + return 0; + } else { + return 250; + } +} + void Viewer::moveView(Qt::Key directionKey) { QKeyEvent event(QEvent::KeyPress, directionKey, Qt::NoModifier); @@ -621,7 +630,7 @@ void Viewer::moveView(Qt::Key directionKey) emit backgroundChanges(); } -static void animateScroll(QPropertyAnimation &scroller, const QScrollBar &scrollBar, int delta) +void Viewer::animateScroll(QPropertyAnimation &scroller, const QScrollBar &scrollBar, int delta) { int deltaNotFinished = 0; if (scroller.state() == QAbstractAnimation::Running) { @@ -630,7 +639,7 @@ static void animateScroll(QPropertyAnimation &scroller, const QScrollBar &scroll } const int currentPos = scrollBar.sliderPosition(); - scroller.setDuration(250); + scroller.setDuration(animationDuration()); scroller.setStartValue(currentPos); scroller.setEndValue(currentPos - delta - deltaNotFinished); @@ -639,9 +648,9 @@ static void animateScroll(QPropertyAnimation &scroller, const QScrollBar &scroll void Viewer::wheelEvent(QWheelEvent *event) { - auto delta = event->angleDelta(); - if (render->hasLoadedComic()) { + auto delta = event->angleDelta(); + if (delta.x() != 0) { animateScroll(*horizontalScroller, *horizontalScrollBar(), delta.x()); return; diff --git a/YACReader/viewer.h b/YACReader/viewer.h index b6134d78..b17c266a 100644 --- a/YACReader/viewer.h +++ b/YACReader/viewer.h @@ -162,7 +162,7 @@ private: bool restoreMagnifyingGlass; void setMagnifyingGlassShown(bool shown); - //! Manejadores de evento: + //! Event handlers: void resizeEvent(QResizeEvent *event) override; void wheelEvent(QWheelEvent *event) override; void mouseMoveEvent(QMouseEvent *event) override; @@ -179,6 +179,10 @@ private: void scrollZigzag(scrollDirection d1, scrollDirection d2, bool forward); void scrollTo(int x, int y); + // Zero when animations are disabled + int animationDuration() const; + void animateScroll(QPropertyAnimation &scroller, const QScrollBar &scrollBar, int delta); + public: Viewer(QWidget *parent = nullptr); ~Viewer(); diff --git a/YACReader/yacreader_de.ts b/YACReader/yacreader_de.ts index 229a39ca..ea0c6ddf 100644 --- a/YACReader/yacreader_de.ts +++ b/YACReader/yacreader_de.ts @@ -559,12 +559,12 @@ OptionsDialog - + Gamma Gamma - + Reset Zurücksetzen @@ -574,7 +574,7 @@ Meine Comics-Pfad - + Image adjustment Bildanpassung @@ -589,22 +589,22 @@ Auswählen - + Image options Bilderoptionen - + Contrast Kontrast - + Options Optionen - + Comics directory Comics-Verzeichnis @@ -614,27 +614,27 @@ Hintergrundfarbe - + Page Flow Page Flow - + General Allgemein - + Brightness Helligkeit - + Restart is needed Neustart erforderlich - + Quick Navigation Mode Schnellnavigations-Modus @@ -645,36 +645,41 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Disable mouse over activation Aktivierung durch Maus deaktivieren - + Fit options Anpassungsoptionen - + Enlarge images to fit width/height Bilder vergrößern, um sie Breite/Höhe anzupassen - + Double Page options Doppelseiten-Einstellungen - + Show covers as single page Cover als eine Seite darstellen @@ -781,13 +786,13 @@ Viewer - + Page not available! Seite nicht verfügbar! - + Press 'O' to open comic. 'O' drücken, um Comic zu öffnen. @@ -797,7 +802,7 @@ Fehler beim Öffnen des Comics - + Cover! Titelseite! @@ -817,12 +822,12 @@ Nicht gefunden - + Last page! Letzte Seite! - + Loading...please wait! Ladevorgang... Bitte warten! diff --git a/YACReader/yacreader_en.ts b/YACReader/yacreader_en.ts index 2cce41b1..a06a9edd 100644 --- a/YACReader/yacreader_en.ts +++ b/YACReader/yacreader_en.ts @@ -200,22 +200,22 @@ - + Quick Navigation Mode - + Disable mouse over activation - + Restart is needed - + Brightness @@ -226,76 +226,81 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Contrast - + Gamma - + Reset - + Image options - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page - + General - + Page Flow - + Image adjustment - + Options - + Comics directory @@ -388,7 +393,7 @@ Viewer - + Press 'O' to open comic. @@ -413,22 +418,22 @@ - + Loading...please wait! - + Page not available! - + Cover! - + Last page! diff --git a/YACReader/yacreader_es.ts b/YACReader/yacreader_es.ts index fdf1155e..f5aee218 100644 --- a/YACReader/yacreader_es.ts +++ b/YACReader/yacreader_es.ts @@ -395,12 +395,12 @@ OptionsDialog - + Gamma Gamma - + Reset Reset @@ -410,7 +410,7 @@ Ruta a mis cómics - + Image adjustment Ajustes de imagen @@ -425,22 +425,22 @@ Elegir - + Image options Opciones de imagen - + Contrast Contraste - + Options Opciones - + Comics directory Directorio de cómics @@ -450,27 +450,27 @@ Color de fondo - + Page Flow Page Flow - + General General - + Brightness Brillo - + Restart is needed Es necesario reiniciar - + Quick Navigation Mode @@ -481,36 +481,41 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Disable mouse over activation - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page @@ -617,13 +622,13 @@ Viewer - + Page not available! ¡Página no disponible! - + Press 'O' to open comic. Pulsa 'O' para abrir un fichero. @@ -633,7 +638,7 @@ Error abriendo cómic - + Cover! ¡Portada! @@ -653,12 +658,12 @@ No encontrado - + Last page! ¡Última página! - + Loading...please wait! Cargando...espere, por favor! diff --git a/YACReader/yacreader_fr.ts b/YACReader/yacreader_fr.ts index e445c32b..24a2fc35 100644 --- a/YACReader/yacreader_fr.ts +++ b/YACReader/yacreader_fr.ts @@ -551,12 +551,12 @@ OptionsDialog - + Gamma Gamma - + Reset Remise à zéro @@ -566,7 +566,7 @@ Chemin de mes bandes dessinées - + Image adjustment Ajustement de l'image @@ -581,27 +581,27 @@ Choisir - + Image options Option de l'image - + Contrast Contraste - + Options Options - + Comics directory Répertoire des bandes dessinées - + Quick Navigation Mode Mode navigation rapide @@ -617,56 +617,61 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Disable mouse over activation Désactiver la souris sur l'activation - + Page Flow Flux des pages - + General Général - + Brightness Luminosité - + Restart is needed Redémarrage nécessaire - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page @@ -773,13 +778,13 @@ Viewer - + Page not available! Page non disponible ! - + Press 'O' to open comic. Appuyez sur "O" pour ouvrir une bande dessinée. @@ -789,7 +794,7 @@ Erreur d'ouverture de la bande dessinée - + Cover! Couverture! @@ -809,12 +814,12 @@ Introuvable - + Last page! Dernière page! - + Loading...please wait! Chargement... Patientez diff --git a/YACReader/yacreader_it.ts b/YACReader/yacreader_it.ts index 425b58f8..1cc4b8b1 100644 --- a/YACReader/yacreader_it.ts +++ b/YACReader/yacreader_it.ts @@ -555,12 +555,12 @@ OptionsDialog - + Gamma Gamma - + Reset Reset @@ -570,7 +570,7 @@ Percorso dei miei fumetti - + Image adjustment Correzioni immagine @@ -585,27 +585,27 @@ Scegli - + Image options Opzione immagine - + Contrast Contrasto - + Options Opzioni - + Comics directory Cartella Fumetti - + Quick Navigation Mode Modo navigazione rapida @@ -621,56 +621,61 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Disable mouse over activation Disabilita il mouse all'attivazione - + Page Flow Flusso pagine - + General Generale - + Brightness Luminosità - + Restart is needed Riavvio Necessario - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page @@ -777,13 +782,13 @@ Viewer - + Page not available! Pagina non disponibile! - + Press 'O' to open comic. Premi "O" per aprire il fumettto. @@ -793,7 +798,7 @@ Errore nell'apertura - + Cover! Copertina! @@ -813,12 +818,12 @@ Non trovato - + Last page! Ultima pagina! - + Loading...please wait! In caricamento...Attendi! diff --git a/YACReader/yacreader_nl.ts b/YACReader/yacreader_nl.ts index 2dbf06e6..a6b7c4c7 100644 --- a/YACReader/yacreader_nl.ts +++ b/YACReader/yacreader_nl.ts @@ -379,12 +379,12 @@ OptionsDialog - + Gamma Gamma - + Reset Standaardwaarden terugzetten @@ -394,7 +394,7 @@ Pad naar mijn strips - + Image adjustment Beeldaanpassing @@ -409,22 +409,22 @@ Kies - + Image options Afbeelding opties - + Contrast Contrast - + Options Opties - + Comics directory Strips map @@ -434,27 +434,27 @@ Achtergrondkleur - + Page Flow Omslagbrowser - + General Algemeen - + Brightness Helderheid - + Restart is needed Herstart is nodig - + Quick Navigation Mode @@ -465,36 +465,41 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Disable mouse over activation - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page @@ -602,12 +607,12 @@ Viewer - + Press 'O' to open comic. Druk 'O' om een strip te openen. - + Cover! Omslag! @@ -622,12 +627,12 @@ Niet gevonden - + Last page! Laatste pagina! - + Loading...please wait! Inladen...even wachten! @@ -642,7 +647,7 @@ - + Page not available! diff --git a/YACReader/yacreader_pt.ts b/YACReader/yacreader_pt.ts index 27d00aeb..a5161c13 100644 --- a/YACReader/yacreader_pt.ts +++ b/YACReader/yacreader_pt.ts @@ -349,17 +349,17 @@ Tamanho do "Ir para cheia" - + Options Opções - + Comics directory Diretório de quadrinhos - + Restart is needed Reiniciar é necessário @@ -380,81 +380,86 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Quick Navigation Mode - + Disable mouse over activation - + Brightness - + Contrast - + Gamma - + Reset - + Image options - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page - + General - + Page Flow - + Image adjustment @@ -558,12 +563,12 @@ Viewer - + Press 'O' to open comic. Pressione 'O' para abrir um quadrinho. - + Loading...please wait! Carregando... por favor, aguarde! @@ -588,17 +593,17 @@ - + Page not available! - + Cover! - + Last page! diff --git a/YACReader/yacreader_ru.ts b/YACReader/yacreader_ru.ts index 0d8b1f2b..100d76b9 100644 --- a/YACReader/yacreader_ru.ts +++ b/YACReader/yacreader_ru.ts @@ -555,12 +555,12 @@ OptionsDialog - + Gamma Гамма - + Reset Вернуть к первоначальным значениям @@ -570,7 +570,7 @@ Папка комиксов - + Image adjustment Настройка изображения @@ -585,27 +585,27 @@ Выбрать - + Image options Настройки изображения - + Contrast Контраст - + Options Настройки - + Comics directory Папка комиксов - + Quick Navigation Mode Ползунок для быстрой навигации по страницам @@ -621,56 +621,61 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Disable mouse over activation Отключить активацию потока при наведении мыши - + Page Flow Поток Страниц - + General Общие - + Brightness Яркость - + Restart is needed - + Fit options - + Enlarge images to fit width/height - + Double Page options - + Show covers as single page @@ -777,13 +782,13 @@ Viewer - + Page not available! Страница недоступна! - + Press 'O' to open comic. Нажмите "O" чтобы открыть комикс. @@ -793,7 +798,7 @@ Ошибка открытия комикса - + Cover! Начало! @@ -813,12 +818,12 @@ Не найдено - + Last page! Конец! - + Loading...please wait! Загрузка... Пожалуйста подождите! diff --git a/YACReader/yacreader_tr.ts b/YACReader/yacreader_tr.ts index c11ea8d3..741d3515 100644 --- a/YACReader/yacreader_tr.ts +++ b/YACReader/yacreader_tr.ts @@ -559,12 +559,12 @@ OptionsDialog - + Gamma Gama - + Reset Yeniden başlat @@ -574,7 +574,7 @@ Çizgi Romanlarım - + Image adjustment Resim ayarları @@ -589,22 +589,22 @@ Seç - + Image options Sayfa ayarları - + Contrast Kontrast - + Options Ayarlar - + Comics directory Çizgi roman konumu @@ -614,27 +614,27 @@ Arka plan rengi - + Page Flow Sayfa akışı - + General Genel - + Brightness Parlaklık - + Restart is needed Yeniden başlatılmalı - + Quick Navigation Mode Hızlı Gezinti Kipi @@ -645,36 +645,41 @@ - Do not turn page using scroll + Disable scroll animations and smooth scrolling + Do not turn page using scroll + + + + Use single scroll step to turn page - + Disable mouse over activation Etkinleştirme üzerinde fareyi devre dışı bırak - + Fit options Sığdırma seçenekleri - + Enlarge images to fit width/height Genişliğe/yüksekliği sığmaları için resimleri genişlet - + Double Page options Çift Sayfa seçenekleri - + Show covers as single page Kapakları tek sayfa olarak göster @@ -782,12 +787,12 @@ Viewer - + Press 'O' to open comic. 'O'ya basarak aç. - + Cover! Kapak! @@ -802,12 +807,12 @@ Bulunamadı - + Last page! Son sayfa! - + Loading...please wait! Yükleniyor... lütfen bekleyin! @@ -822,7 +827,7 @@ CRC Hatası - + Page not available! Sayfa bulunamadı! diff --git a/YACReader/yacreader_zh_CN.ts b/YACReader/yacreader_zh_CN.ts index 9b8f8c76..3e44628c 100644 --- a/YACReader/yacreader_zh_CN.ts +++ b/YACReader/yacreader_zh_CN.ts @@ -200,22 +200,22 @@ 选择 - + Quick Navigation Mode 快速导航模式 - + Disable mouse over activation 禁用鼠标激活 - + Restart is needed 需要重启 - + Brightness 亮度 @@ -226,76 +226,81 @@ + Disable scroll animations and smooth scrolling + + + + Do not turn page using scroll 滚动时不翻页 - + Use single scroll step to turn page 使用单滚动步骤翻页 - + Contrast 对比度 - + Gamma Gamma值 - + Reset 重置 - + Image options 图片选项 - + Fit options 适应项 - + Enlarge images to fit width/height 放大图片以适应宽度/高度 - + Double Page options 双页选项 - + Show covers as single page 显示封面为单页 - + General 常规 - + Page Flow 页面流 - + Image adjustment 图像调整 - + Options 选项 - + Comics directory 漫画目录 @@ -403,7 +408,7 @@ Viewer - + Press 'O' to open comic. 按下 'O' 以打开漫画. @@ -428,22 +433,22 @@ CRC 校验失败 - + Loading...please wait! 载入中... 请稍候! - + Page not available! 页面不可用! - + Cover! 封面! - + Last page! 尾页! diff --git a/YACReader/yacreader_zh_HK.ts b/YACReader/yacreader_zh_HK.ts index 5ff42dfb..96da053b 100644 --- a/YACReader/yacreader_zh_HK.ts +++ b/YACReader/yacreader_zh_HK.ts @@ -200,22 +200,22 @@ 選擇 - + Quick Navigation Mode 快速導航模式 - + Disable mouse over activation 禁用滑鼠啟動 - + Restart is needed 需要重啟 - + Brightness 亮度 @@ -226,76 +226,81 @@ + Disable scroll animations and smooth scrolling + + + + Do not turn page using scroll 滾動時不翻頁 - + Use single scroll step to turn page 使用單滾動步驟翻頁 - + Contrast 對比度 - + Gamma Gamma值 - + Reset 重置 - + Image options 圖片選項 - + Fit options 適應項 - + Enlarge images to fit width/height 放大圖片以適應寬度/高度 - + Double Page options 雙頁選項 - + Show covers as single page 顯示封面為單頁 - + General 常規 - + Page Flow 頁面流 - + Image adjustment 圖像調整 - + Options 選項 - + Comics directory 漫畫目錄 @@ -403,7 +408,7 @@ Viewer - + Press 'O' to open comic. 按下 'O' 以打開漫畫. @@ -428,22 +433,22 @@ CRC 校驗失敗 - + Loading...please wait! 載入中... 請稍候! - + Page not available! 頁面不可用! - + Cover! 封面! - + Last page! 尾頁! diff --git a/YACReader/yacreader_zh_TW.ts b/YACReader/yacreader_zh_TW.ts index e4c7adce..9e993dfe 100644 --- a/YACReader/yacreader_zh_TW.ts +++ b/YACReader/yacreader_zh_TW.ts @@ -200,22 +200,22 @@ 選擇 - + Quick Navigation Mode 快速導航模式 - + Disable mouse over activation 禁用滑鼠啟動 - + Restart is needed 需要重啟 - + Brightness 亮度 @@ -226,76 +226,81 @@ + Disable scroll animations and smooth scrolling + + + + Do not turn page using scroll 滾動時不翻頁 - + Use single scroll step to turn page 使用單滾動步驟翻頁 - + Contrast 對比度 - + Gamma Gamma值 - + Reset 重置 - + Image options 圖片選項 - + Fit options 適應項 - + Enlarge images to fit width/height 放大圖片以適應寬度/高度 - + Double Page options 雙頁選項 - + Show covers as single page 顯示封面為單頁 - + General 常規 - + Page Flow 頁面流 - + Image adjustment 圖像調整 - + Options 選項 - + Comics directory 漫畫目錄 @@ -403,7 +408,7 @@ Viewer - + Press 'O' to open comic. 按下 'O' 以打開漫畫. @@ -428,22 +433,22 @@ CRC 校驗失敗 - + Loading...please wait! 載入中... 請稍候! - + Page not available! 頁面不可用! - + Cover! 封面! - + Last page! 尾頁! diff --git a/common/yacreader_global_gui.h b/common/yacreader_global_gui.h index 00905095..85c23b8e 100644 --- a/common/yacreader_global_gui.h +++ b/common/yacreader_global_gui.h @@ -34,6 +34,7 @@ #define ENLARGE_IMAGES "ENLARGE_IMAGES" #define DO_NOT_TURN_PAGE_ON_SCROLL "DO_NOT_TURN_PAGE_ON_SCROLL" #define USE_SINGLE_SCROLL_STEP_TO_TURN_PAGE "USE_SINGLE_SCROLL_STEP_TO_TURN_PAGE" +#define DISABLE_SCROLL_ANIMATION "DISABLE_SCROLL_ANIMATION" #define FLOW_TYPE_GL "FLOW_TYPE_GL" #define Y_POSITION "Y_POSITION"