mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add the ability to enable/disable UI animations. Fixes #1978
This commit is contained in:
committed by
Dave Page
parent
94e1e46201
commit
7805170783
@@ -216,6 +216,19 @@ class BrowserModule(PgAdminModule):
|
||||
gettext("Show system objects?"), 'boolean', False,
|
||||
category_label=gettext('Display')
|
||||
)
|
||||
|
||||
self.preference.register(
|
||||
'display', 'enable_acitree_animation',
|
||||
gettext("Enable browser tree animation?"), 'boolean', True,
|
||||
category_label=gettext('Display')
|
||||
)
|
||||
|
||||
self.preference.register(
|
||||
'display', 'enable_alertify_animation',
|
||||
gettext("Enable dialogue/notification animation?"), 'boolean',
|
||||
True, category_label=gettext('Display')
|
||||
)
|
||||
|
||||
self.table_row_count_threshold = self.preference.register(
|
||||
'properties', 'table_row_count_threshold',
|
||||
gettext("Count rows if estimated less than"), 'integer', 2000,
|
||||
|
||||
Reference in New Issue
Block a user