app_server: fix ServerPicture::SyncState pen size
* Should use the unscaled pen size here because we also write down the current scale, and we don't want to scale the pen twice.
This commit is contained in:
parent
1b4dba929d
commit
8511f6ac9b
@ -978,7 +978,7 @@ ServerPicture::SyncState(View* view)
|
||||
|
||||
WriteSetOrigin(view->CurrentState()->Origin());
|
||||
WriteSetPenLocation(view->CurrentState()->PenLocation());
|
||||
WriteSetPenSize(view->CurrentState()->PenSize());
|
||||
WriteSetPenSize(view->CurrentState()->UnscaledPenSize());
|
||||
WriteSetScale(view->CurrentState()->Scale());
|
||||
WriteSetLineMode(view->CurrentState()->LineCapMode(),
|
||||
view->CurrentState()->LineJoinMode(),
|
||||
|
@ -63,6 +63,8 @@ public:
|
||||
status_t ExportData(BPrivate::PortLink& link);
|
||||
|
||||
private:
|
||||
friend class PictureBoundingBoxPlayer;
|
||||
|
||||
typedef BObjectList<ServerPicture> PictureList;
|
||||
|
||||
int32 fToken;
|
||||
|
@ -156,6 +156,7 @@ SharedLibrary libtestappserver.so :
|
||||
DesktopSettings.cpp
|
||||
OffscreenServerWindow.cpp
|
||||
OffscreenWindow.cpp
|
||||
PictureBoundingBoxPlayer.cpp
|
||||
RegionPool.cpp
|
||||
Screen.cpp
|
||||
ScreenConfigurations.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user