@yogiswara/honcho-editor-ui 2.2.4 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,6 +52,7 @@ export function useHonchoEditorBulk(controller, eventID, firebaseUid) {
|
|
|
52
52
|
const handleSelectBulkPreset = (event) => setSelectedBulkPreset(event.target.value);
|
|
53
53
|
// This factory creates functions that adjust a value for all selected images
|
|
54
54
|
const createRelativeAdjuster = useCallback((key, amount) => () => {
|
|
55
|
+
console.debug("createRelativeAdjuster", key, amount);
|
|
55
56
|
batchActions.adjustSelected({ [key]: amount });
|
|
56
57
|
}, [batchActions]);
|
|
57
58
|
const handleBulkTempDecreaseMax = createRelativeAdjuster('tempScore', -20);
|