Skip to content

Commit

Permalink
Change Layer::maskOwner to private. (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingpqi123 authored Nov 22, 2024
1 parent 40897ba commit 4b75a70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/tgfx/layers/Layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,6 @@ class Layer {
protected:
std::weak_ptr<Layer> weakThis;

Layer* maskOwner = nullptr;

Layer();

/**
Expand Down Expand Up @@ -537,6 +535,7 @@ class Layer {
std::unique_ptr<Rect> _scrollRect = nullptr;
Layer* _root = nullptr;
Layer* _parent = nullptr;
Layer* maskOwner = nullptr;
std::unique_ptr<LayerContent> layerContent = nullptr;
std::unique_ptr<LayerContent> rasterizedContent = nullptr;
std::vector<std::shared_ptr<Layer>> _children = {};
Expand Down

0 comments on commit 4b75a70

Please sign in to comment.