Skip to content

Commit

Permalink
Fixed bottom rack width, modified README to include Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
reduz committed Jun 9, 2019
1 parent bd898b2 commit 31a6962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ simple pattern/orderlist layout).

## Usage

Currently, ZyTrax runs only on Windows and supports VST2 plugins via Vestige.
It compiles and runs on Linux/X11, but no plugin
Currently, ZyTrax runs only on Windows and Linux/X11. It supports VST2 plugins via Vestige.
It should compile on MacOS but no plugin
code exists (If anyone wants to contribute LV2 support, that would be
awesome! I just don't have the time).

Expand Down
2 changes: 1 addition & 1 deletion gui/track_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ bool TrackRackEditor::on_draw(const Cairo::RefPtr<Cairo::Context> &cr) {
Cairo::FontExtents fe;
cr->get_font_extents(fe);

int new_width = fe.max_x_advance * min_width_chars;
int new_width = fe.height * min_width_chars;
int new_height = (fe.height + 2) * min_height_lines;

if (new_width != min_width || new_height != min_height) {
Expand Down

0 comments on commit 31a6962

Please sign in to comment.