This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
Cardinal
mirror of
https://github.com/DISTRHO/Cardinal.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
19
Wiki
Activity
Browse Source
Do not show resize handle in mini variant
Signed-off-by: falkTX <falktx@falktx.com>
tags/23.02
falkTX
2 years ago
parent
1497e54974
commit
e418bb17c6
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
4 changed files
with
12 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
dpf
+9
-0
src/CardinalCommon.cpp
+1
-0
src/CardinalCommon.hpp
+1
-1
src/override/Scene.cpp
+ 1
- 1
dpf
@@ -1 +1 @@
Subproject commit
207e0ae8720faa4db6f34192d83a0ee3b85b832a
Subproject commit
0c75ecb5db751eda5d5d7168f5299274c050766c
+ 9
- 0
src/CardinalCommon.cpp
View File
@@ -533,6 +533,15 @@ END_NAMESPACE_DISTRHO
namespace rack {
bool isMini()
{
#if CARDINAL_VARIANT_MINI
return true;
#else
return false;
#endif
}
bool isStandalone()
{
return std::strstr(getPluginFormatName(), "Standalone") != nullptr;
+ 1
- 0
src/CardinalCommon.hpp
View File
@@ -43,6 +43,7 @@ namespace window {
void generateScreenshot();
}
bool isMini();
bool isStandalone();
#ifdef ARCH_WIN
+ 1
- 1
src/override/Scene.cpp
View File
@@ -139,7 +139,7 @@ Scene::Scene() {
browser->hide();
addChild(browser);
if (isStandalone())
if (isStandalone()
|| isMini()
)
return;
internal->resizeHandle = new ResizeHandle;
Write
Preview
Loading…
Cancel
Save