force small screen profile if ARDOUR_NARROW_SCREEN is set in the environment
git-svn-id: svn://localhost/ardour2/branches/3.0@11996 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
02a1879450
commit
a382da4918
@ -3628,7 +3628,7 @@ ARDOUR_UI::TransportControllable::get_value (void) const
|
|||||||
void
|
void
|
||||||
ARDOUR_UI::setup_profile ()
|
ARDOUR_UI::setup_profile ()
|
||||||
{
|
{
|
||||||
if (gdk_screen_width() < 1200) {
|
if (gdk_screen_width() < 1200 || getenv ("ARDOUR_NARROW_SCREEN")) {
|
||||||
Profile->set_small_screen ();
|
Profile->set_small_screen ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user