Fixed Typo

This commit is contained in:
Armando Rivera 2021-07-29 20:35:52 -04:00
parent fd346c4062
commit ad42f9f3e6
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import Cocoa
import Cocoa / [NSWindow, NSFunctions, NSLabel, NSSlider]
const
width = 320

View File

@ -33,6 +33,6 @@
id createSlider(id parent, int left, int top, int width, int height, ACTION callback) {
id widget = [[CocoaSlider alloc] initWithFrame:NSMakeRect(left, top, width, height) callBack:callback];
addToParent(parent, self);
addToParent(parent, widget);
return widget;
}