Skip to content

Commit 92e936b

Browse files
authored
Bug/retina (#2)
* auto set constraints; cleanup unused ResizeHandle * macos-14
1 parent d7f05a5 commit 92e936b

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,16 @@ jobs:
6161
strategy:
6262
matrix:
6363
target: [macos-intel, macos-universal]
64-
runs-on: macos-13
64+
runs-on: macos-14
6565
steps:
6666
- uses: actions/checkout@v4
6767
with:
6868
submodules: recursive
6969

70+
- uses: innodatalabs/action-pip-conf@1.0.0
71+
with:
72+
pip-conf: "[global]\nbreak-system-packages = true"
73+
7074
- name: Import APP Certificates
7175
uses: apple-actions/import-codesign-certs@v2
7276
with:

override/HeavyDPF_WSTD_DLAY_UI.cpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ class ImGuiPluginUI : public UI
2424
int ftimesync = 6.0;
2525

2626
int default_item_id = 6;
27-
2827
int items_len = 13;
2928

30-
ResizeHandle fResizeHandle;
31-
3229
// ----------------------------------------------------------------------------------------------------------------
3330

3431
public:
@@ -37,11 +34,8 @@ class ImGuiPluginUI : public UI
3734
The UI should be initialized to a default state that matches the plugin side.
3835
*/
3936
ImGuiPluginUI()
40-
: UI(DISTRHO_UI_DEFAULT_WIDTH, DISTRHO_UI_DEFAULT_HEIGHT, true),
41-
fResizeHandle(this)
37+
: UI(DISTRHO_UI_DEFAULT_WIDTH, DISTRHO_UI_DEFAULT_HEIGHT)
4238
{
43-
setGeometryConstraints(DISTRHO_UI_DEFAULT_WIDTH, DISTRHO_UI_DEFAULT_HEIGHT, true);
44-
4539
ImGuiIO& io(ImGui::GetIO());
4640

4741
ImFontConfig fc;
@@ -54,8 +48,6 @@ class ImGuiPluginUI : public UI
5448
io.Fonts->AddFontFromMemoryCompressedTTF((void*)veramobd_compressed_data, veramobd_compressed_size, 21.0f * getScaleFactor(), &fc);
5549
io.Fonts->Build();
5650
io.FontDefault = io.Fonts->Fonts[1];
57-
58-
fResizeHandle.hide();
5951
}
6052

6153
protected:

0 commit comments

Comments
 (0)