Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DeskNoteTextView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ DeskNoteTextView::MouseDown(BPoint point)
GetMouse(&mousePoint, &mouseButtons, false);
if (mouseButtons != B_SECONDARY_MOUSE_BUTTON)
BTextView::MouseDown(point);
Parent()->MouseDown(point);
Parent()->Parent()->MouseDown(point);
}


Expand Down
4 changes: 3 additions & 1 deletion DeskNoteView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ DeskNoteView::DeskNoteView(BRect rect)
"\t\tIcon-O-Matic change the background\n\n"
"\tHave a nice day!"));
textView->SetText(defaultText);
AddChild(textView);
fScrollView = new BScrollView("DeskNoteScrollView", textView, B_FOLLOW_ALL,
0, false, true, B_NO_BORDER);
AddChild(fScrollView);

background = palette[0];
SetViewColor(background);
Expand Down
1 change: 1 addition & 0 deletions DeskNoteView.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class DeskNoteView : public BView {
void _ShowContextMenu(BPoint where);
bool WeAreAReplicant;
DeskNoteTextView* textView;
BScrollView* fScrollView;
BRect ourSize;
BMenu* colorMenu;
BMessage* orginalSettings;
Expand Down