This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Add initial state to VCV Notes.
tags/v2.0.0
Andrew Belt
3 years ago
parent
7ed56c0f4c
commit
beef5be7b2
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
src/core/Notes.cpp
+ 5
- 0
src/core/Notes.cpp
View File
@@ -9,6 +9,11 @@ struct NotesModule : Module {
std::string text;
bool dirty = false;
void onReset() override {
text = "";
dirty = true;
}
/** Legacy for <=v1 patches */
void fromJson(json_t* rootJ) override {
Module::fromJson(rootJ);
Write
Preview
Loading…
Cancel
Save