]> cloud.milkyroute.net Git - dolphin.git/commit
Animate split view mode toggling
authorFelix Ernst <fe.a.ernst@gmail.com>
Sat, 2 Jan 2021 17:48:52 +0000 (17:48 +0000)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sat, 2 Jan 2021 17:48:52 +0000 (17:48 +0000)
commitf01a61b76c8588a4df2054ab70e9a746a74f7817
tree1bc359df5c5f2e203652f1e59e1c08544383488e
parentd3c5bb6e9b99c6ff43bd8160df58d35a725a0894
Animate split view mode toggling

Have the secondary ViewContainer slide into/out of view when split view mode is switched on or off by the user.

This should help users understand what split view mode is about. Without the animation it might seem like the only thing the button does is creating a weird vertical line in the middle of the view or something. With the animation it should be clear that the second view is a separate entity that was added. The closing animation will help users understand which of the ViewContainers was just closed.
src/dolphinmainwindow.cpp
src/dolphintabpage.cpp
src/dolphintabpage.h
src/global.cpp
src/global.h